1pub mod adt;
4#[cfg(feature = "battery")]
5pub mod battery;
6pub mod error;
7pub mod fs;
8pub mod hash;
9pub mod path;
10pub mod time;
11
12pub(crate) mod concepts;
13
14pub use concepts::*;
15
16pub use error::{ErrKind, Error, Result};
17
18#[cfg(feature = "typst")]
19pub use typst_shim;
20
21#[cfg(feature = "rkyv")]
22use rkyv::{Archive, Deserialize as rDeser, Serialize as rSer};
23
24#[derive(Debug, Clone, Copy, Hash, PartialEq, Eq)]
27#[cfg_attr(feature = "rkyv", derive(Archive, rDeser, rSer))]
28#[cfg_attr(feature = "rkyv-validation", archive(check_bytes))]
29pub struct DefId(pub u64);