Skip to main content

regex_pool/
lib.rs

1/*!
2Reusable object pooling extracted from regex-automata.
3*/
4
5#![no_std]
6#![deny(missing_docs)]
7#![allow(unused_doc_comments)]
8#![warn(missing_debug_implementations)]
9
10#[cfg(any(test, feature = "std"))]
11extern crate std;
12
13#[cfg(feature = "alloc")]
14extern crate alloc;
15
16#[cfg(not(any(
17    target_pointer_width = "16",
18    target_pointer_width = "32",
19    target_pointer_width = "64"
20)))]
21compile_error!("not supported on non-{16,32,64}, please file an issue");
22
23/// Shared utilities.
24pub mod util;