bump_scope/features/mod.rs
1#[cfg(feature = "serde")]
2mod serde;
3
4#[cfg(feature = "nightly-allocator-api")]
5pub mod nightly_allocator_api;
6
7#[cfg(feature = "allocator-api2-02")]
8pub mod allocator_api2_02;
9
10#[cfg(feature = "allocator-api2-03")]
11pub mod allocator_api2_03;
12
13#[cfg(feature = "allocator-api2-04")]
14pub mod allocator_api2_04;
15
16#[cfg(any(
17 feature = "nightly-allocator-api",
18 feature = "allocator-api2-02",
19 feature = "allocator-api2-03",
20 feature = "allocator-api2-04",
21))]
22mod allocator_util;
23
24#[cfg(any(feature = "bytemuck", feature = "zerocopy-08"))]
25mod bytemuck_or_zerocopy;
26
27#[cfg(any(feature = "bytemuck", feature = "zerocopy-08"))]
28pub(crate) use bytemuck_or_zerocopy::bytemuck_or_zerocopy;