Release v0.43.0#109
Merged
Merged
Conversation
…88) Sandboxed targets (Typst plugins, wasm32) cannot use stateful RNG, so the random sampling stack is now optional: * rand / rand_distr become optional dependencies behind a new default-on `rand` feature; existing users see no change, and `default-features = false` drops the RNG stack entirely. * Gated behind the feature: statistics::dist, statistics::rand, util::wrapper, the rand() / rand_with_rng() / rand_with_dist() constructors, the runif! / rnorm! / dnorm! / pnorm! / rt! / dt! / pt! / rand! macros, the dist Printable impls, and the fuga / prelude re-exports of all of the above. * complex/matrix.rs imported num_traits through rand_distr's re-export; it now uses num-traits directly (new optional dep tied to the complex feature). * Examples that sample (dist, matmul, optim, clippy_verify) declare required-features = ["rand"]; rand-dependent tests and doctests are cfg-gated. * New CI job: cargo test --no-default-features plus a wasm32-unknown-unknown build, so the deterministic core (ODE, integration, splines, linear algebra) cannot silently regress. Verified locally: default 472 tests, complex 512 tests, no-default 444 tests, wasm32 build, clippy zero errors in both configurations.
Make rand / rand_distr optional behind a default-on rand feature
Implement Dirichlet(α) distribution
…S jonaspleyer #98) - New O3-openblas-system feature links the system-installed OpenBLAS via pkg-config instead of compiling OpenBLAS from source; openblas-src is added as an optional dependency solely to forward its system feature. - README Pre-requisite section now states that O3-openblas builds OpenBLAS from source (C/Fortran toolchain, make, network access) and documents the rustls / native-tls requirement of openblas-src 0.10.16+ when used with default-features = false. - Drop the stale Peroxide_BLAS link from the README feature list; point to the Pre-requisite section instead. - CI: o3 job also builds and tests O3-openblas-system; cargo-hack excludes the bare openblas-src flag (no TLS backend on its own) and keeps the new composite flag out of the powerset.
Add O3-openblas-system feature and correct BLAS setup docs (JOSS #98)
…x (JOSS jonaspleyer #99) The hand-maintained module table duplicated the module index that rustdoc generates on docs.rs and could only drift out of sync. What remains is the repo-only fact rustdoc cannot show: src/grave/ is retired code excluded from compilation.
The removed source layout table carried descriptions that existed nowhere in rustdoc: complex and traits had no module docs at all, and several first lines (Useful macros, Statistical Modules, Main structures) were too vague to serve as an index. Each module now carries its one-line purpose in its own mod.rs, so the docs.rs module index is the single source for the source map and stays in sync with the code by construction.
Replace CONTRIBUTING.md source layout table with docs.rs pointer (JOSS #99)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release the current
devline as v0.43.0.rand/rand_distrsampling stack optional behind the default-onrandfeature.Dirichletdistribution.O3-openblas-systemand complete the BLAS/OpenBLAS setup documentation.Verification
cargo fmt --all --checkcargo testcargo test --no-default-features