src/lib: add features for non-std support

This commit is contained in:
abdul124 2024-07-18 14:19:11 +08:00
parent 64e97c85d5
commit dd00f9b460
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ an optimized set of tools for computer graphics and physics. Those features incl
html_root_url = "https://docs.rs/nalgebra/0.25.0" html_root_url = "https://docs.rs/nalgebra/0.25.0"
)] )]
#![cfg_attr(not(feature = "std"), no_std)] #![cfg_attr(not(feature = "std"), no_std)]
#![feature(const_fn, extended_key_value_attributes, array_methods)]
/// Generates an appropriate deprecation note with a suggestion for replacement. /// Generates an appropriate deprecation note with a suggestion for replacement.
/// ///