posix_regex/
lib.rs

1#![cfg_attr(feature = "bench", feature(test))]
2#![cfg_attr(feature = "no_std", feature(alloc))]
3#![cfg_attr(feature = "no_std", no_std)]
4#![feature(nll)]
5
6#[cfg(feature = "no_std")]
7#[macro_use]
8extern crate alloc;
9
10#[cfg(feature = "no_std")]
11mod std {
12    pub use alloc::{borrow, rc};
13    pub use core::*;
14
15    pub mod collections {
16        pub use alloc::collections::BTreeMap as HashMap;
17        pub use alloc::collections::BTreeSet as HashSet;
18    }
19    pub mod prelude {
20        pub use alloc::borrow::ToOwned;
21        pub use alloc::boxed::Box;
22        pub use alloc::string::String;
23        pub use alloc::vec::Vec;
24    }
25}
26
27pub mod compile;
28pub mod ctype;
29pub mod immut_vec;
30pub mod matcher;
31pub mod tree;
32
33pub use compile::PosixRegexBuilder;
34pub use matcher::PosixRegex;