1//! Additional functions wrapping Rust's standard library.
23pub mod adt;
4pub mod error;
5pub mod fs;
6pub mod hash;
7pub mod path;
8pub mod time;
910pub(crate) mod concepts;
1112pub use concepts::*;
1314pub use error::{ErrKind, Error, Result};
1516#[cfg(feature = "typst")]
17pub use typst_shim;
1819#[cfg(feature = "rkyv")]
20use rkyv::{Archive, Deserialize as rDeser, Serialize as rSer};
2122/// The local id of an item.
23/// This id is only unique within a task or process.
24#[derive(Debug, Clone, Copy, Hash, PartialEq, Eq)]
25#[cfg_attr(feature = "rkyv", derive(Archive, rDeser, rSer))]
26#[cfg_attr(feature = "rkyv-validation", archive(check_bytes))]
27pub struct DefId(pub u64);