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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#![allow(warnings)]
#![cfg_attr(not(feature = "std"), no_std)]
#[cfg(not(any(
target_pointer_width = "16",
target_pointer_width = "32",
target_pointer_width = "64"
)))]
compile_error!("regex-automata currently not supported on non-{16,32,64}");
#[cfg(feature = "alloc")]
extern crate alloc;
#[doc(inline)]
pub use crate::util::id::PatternID;
#[cfg(feature = "alloc")]
pub use crate::util::syntax::SyntaxConfig;
pub use crate::util::{
bytes::{DeserializeError, SerializeError},
matchtypes::{HalfMatch, Match, MatchError, MatchKind, MultiMatch},
};
#[macro_use]
mod macros;
pub mod dfa;
#[cfg(feature = "alloc")]
pub mod hybrid;
#[doc(hidden)]
#[cfg(feature = "alloc")]
pub mod nfa;
#[doc(hidden)]
pub mod util;