Skip to content

Commit

Permalink
Support no_std
Browse files Browse the repository at this point in the history
  • Loading branch information
kvinwang committed Jul 28, 2021
1 parent fd22596 commit fe688ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
//! const C2: Decimal = dec!(-0.123_456);
//! ```
#![no_std]

pub use fixed_macro_impl::fixed;

/// Macros allowing to create constants for each available fixed-point type.
Expand Down
2 changes: 2 additions & 0 deletions types/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
//! Macros allowing to create constants for each available fixed-point type.
#![no_std]

// 8-bit signed
#[macro_export]
/// Macro to create [I8F0](https://docs.rs/fixed/latest/fixed/types/type.I0F8.html) constants.
Expand Down

0 comments on commit fe688ef

Please sign in to comment.