Skip to main content

macrame/util/
mod.rs

1pub(crate) mod clock;
2pub(crate) mod crc32;
3pub(crate) mod ids;
4pub(crate) mod limits;
5// `timestamp` stays public and this module does not re-export from it: flattened,
6// `timestamp::parse` and `timestamp::format` become `util::parse` and
7// `util::format`, which are too generic to be anyone's API (D-208). Every caller
8// in the workspace already spells the qualified path, so nothing moved.
9pub mod timestamp;
10
11pub use clock::{
12    format_iso8601_utc, parse_iso8601_utc, Clock, FakeClock, FutureStampPolicy, SystemClock,
13    DEFAULT_FUTURE_STAMP_TOLERANCE,
14};
15pub use ids::{generate_id, is_ulid, validate_id, RESERVED_ID_CHARS};
16pub use limits::{HYDRATE_CHUNK, SQLITE_MAX_VARIABLE_NUMBER};