Skip to main content

pv_core/
lib.rs

1//! ProofVisor core primitives shared by every crate in the workspace.
2//!
3//! Provides: identifiers (UUIDv7), wall/monotonic time helpers, the approximate
4//! tokenizer used for budgets and compression ratios, SHA-256 digest helpers,
5//! a dependency-free Prometheus-text metrics registry, and common error types.
6
7pub mod digest;
8pub mod error;
9pub mod fsutil;
10pub mod hash;
11pub mod ids;
12pub mod legacy;
13pub mod metrics;
14pub mod text;
15pub mod time;
16pub mod tokens;
17pub mod units;
18pub mod url_redact;
19
20pub use error::CoreError;
21pub use ids::{new_event_uid, new_session_id, InstanceUid, SessionId};