Crate features / nalgebra
Feature flags · nalgebra 0.35.0 · from crates.io 2026-10-24
nalgebra features: what each one does, and the line to copy
Short answernalgebra 0.35.0 has 25 features. By default it turns on std, macros; add default-features = false to start from nothing. It needs Rust 1.89.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
alloc | nothing else (a switch the code checks) | |
arbitrary | quickcheck | |
compare | matrixcompare-core | |
convert-bytemuck | bytemuck, num-complex/bytemuck | |
convert-glam030 | glam030 | |
convert-glam031 | glam031 | |
convert-glam032 | glam032 | |
convert-glam033 | glam033 | |
convert-mint | mint | |
debug | approx/num-complex, rand | |
io | pest, pest_derive | |
libm | simba/libm, glam030?/libm, glam031?/libm, glam032?/libm, glam033?/libm | |
libm-force | simba/libm_force | |
macros | yes | nalgebra-macros |
proptest-support | proptest | |
rand | rand-no-std, rand-package/std, rand-package/std_rng, rand-package/thread_rng, rand_distr | |
rand-no-std | rand-package | |
rkyv-safe-deser | rkyv-serialize, rkyv/validation | |
rkyv-serialize | rkyv-serialize-no-std, rkyv/std, rkyv/validation | |
rkyv-serialize-no-std | rkyv/size_32 | |
serde-serialize | serde-serialize-no-std, serde/std | |
serde-serialize-no-std | serde, num-complex/serde | |
slow-tests | nothing else (a switch the code checks) | |
sparse | nothing else (a switch the code checks) | |
std | yes | matrixmultiply, num-traits/std, num-complex/std, num-rational/std, approx/std, simba/std, glam030?/std, glam031?/std, glam032?/std, glam033?/std |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version nalgebra declares (rust-version), and the release that changed it:
- 0.34.0 (2025-07-31): Rust 1.87.0
- 0.33.3 (2026-03-28): no rust-version declared
- 0.34.2 (2026-03-28): Rust 1.87.0
- 0.35.0 (2026-05-24): Rust 1.89.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p nalgebra --precise <version>, or use resolver 3, which picks compatible versions for you.
More on nalgebra
Real downloads, dependents and alternatives: nalgebra crate data (206.3K real downloads a day, 2,134 dependents).
Security record: nalgebra advisories.
docs.rs feature list · crates.io · license Apache-2.0 · edition 2024
Up next
Before you depend on itnalgebra crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?