13 lines · 355 B · Rust
RawDownload
#![forbid(unsafe_code)]#![deny(rust_2018_idioms)] pub mod file;pub mod graph; pub use graph::Graph; pub const GENERATION_NUMBER_INFINITY: u32 = 0xffff_ffff;pub const GENERATION_NUMBER_MAX: u32 = 0x3fff_ffff; /// The maximum number of commits that can be stored in a commit graph.pub const MAX_COMMITS: u32 = (1 << 30) + (1 << 29) + (1 << 28) - 1;