File tree Expand file tree Collapse file tree 4 files changed +5
-1
lines changed Expand file tree Collapse file tree 4 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -23,3 +23,4 @@ serde = { workspace = true }
2323generic-tests = { workspace = true }
2424iceoryx2-bb-testing = { workspace = true }
2525serde_test = { workspace = true }
26+ iceoryx2-bb-elementary = { workspace = true , features = [" testing" ]}
Original file line number Diff line number Diff line change @@ -18,3 +18,5 @@ iceoryx2-bb-testing = { workspace = true }
1818
1919generic-tests = { workspace = true }
2020
21+ [features ]
22+ testing = []
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ use std::sync::atomic::Ordering;
1616
1717/// Simple BumpAllocator for testing purposes. Do not use this in production. If you are looking
1818/// for a production ready BumpAllocator use the one from iceoryx2_bb_memory::bump_allocator
19- #[ doc( hidden) ]
2019pub struct BumpAllocator {
2120 start : usize ,
2221 pos : IoxAtomicUsize ,
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ pub mod enum_gen;
1818/// A strong type that represents the alignment part of [`std::alloc::Layout`]
1919pub mod alignment;
2020pub mod allocator;
21+
22+ #[ cfg( feature = "testing" ) ]
2123pub mod bump_allocator;
2224pub mod lazy_singleton;
2325pub mod math;
You can’t perform that action at this time.
0 commit comments