1#![doc(test(
9 no_crate_inject,
10 attr(
11 deny(warnings, rust_2018_idioms),
12 allow(dead_code, unused_assignments, unused_variables)
13 )
14))]
15#![warn(
16 missing_docs,
17 missing_debug_implementations,
18 rust_2018_idioms,
19 unreachable_pub
20)]
21#![cfg_attr(not(feature = "std"), no_std)]
22
23#[cfg(target_has_atomic = "ptr")]
24cfg_if::cfg_if! {
25 if #[cfg(feature = "alloc")] {
26 extern crate alloc;
27
28 mod array_queue;
29 mod seg_queue;
30
31 pub use self::array_queue::ArrayQueue;
32 pub use self::seg_queue::SegQueue;
33 }
34}