1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//! Implementations of the [`BitSet`](crate::BitSet) trait for different backends.

#[cfg(feature = "bitvec")]
mod bv;
#[cfg(feature = "bitvec")]
pub use bv::{
    bitvec::{self, vec::BitVec},
    BitvecArcIndexMatrix, BitvecArcIndexSet, BitvecIndexMatrix, BitvecIndexSet,
    BitvecRefIndexMatrix, BitvecRefIndexSet,
};

#[cfg(feature = "rustc")]
mod rustc;
#[cfg(feature = "rustc")]
pub use rustc::{
    rustc_index::bit_set::{self, BitSet},
    RustcArcIndexMatrix, RustcArcIndexSet, RustcIndexMatrix, RustcIndexSet, RustcRefIndexMatrix,
    RustcRefIndexSet,
};

#[cfg(feature = "simd")]
mod simd;
#[cfg(feature = "simd")]
pub use simd::{
    SimdArcIndexMatrix, SimdArcIndexSet, SimdBitset, SimdIndexMatrix, SimdIndexSet,
    SimdRefIndexMatrix, SimdRefIndexSet, SimdSetElement,
};