Skip to content

Commit

Permalink
Merge pull request #6 from kvinwang/master
Browse files Browse the repository at this point in the history
Support no_std
  • Loading branch information
aldanor authored Oct 16, 2022
2 parents fd22596 + fe688ef commit 02e5d6c
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 02e5d6c

Please sign in to comment.