units: Remove a bunch of feature gateing

Remove `alloc` feature gating from all modules in `units`!
This commit is contained in:
Tobin C. Harding 2024-11-01 18:07:35 +11:00
parent e347b50614
commit 38b8c6f5ea
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 8 deletions

View File

@ -22,23 +22,16 @@ extern crate alloc;
extern crate std;
pub mod amount;
#[cfg(feature = "alloc")]
pub mod block;
#[cfg(feature = "alloc")]
pub mod fee_rate;
#[cfg(feature = "alloc")]
pub mod locktime;
#[cfg(feature = "alloc")]
pub mod parse;
#[cfg(feature = "alloc")]
pub mod weight;
#[doc(inline)]
pub use self::amount::{Amount, SignedAmount};
#[cfg(feature = "alloc")]
#[doc(inline)]
#[rustfmt::skip]
pub use self::{
amount::{Amount, SignedAmount},
block::{BlockHeight, BlockInterval},
fee_rate::FeeRate,
weight::Weight