1pub mod archive;
8#[cfg(feature = "testing")]
9pub mod conformance;
10#[cfg(feature = "testing")]
11mod container_conformance;
12pub mod containment;
13mod display;
14pub mod error;
15pub mod fidelity;
16pub mod format;
17pub mod governor;
18#[cfg(any(test, feature = "testing"))]
19mod honesty;
20pub mod ladder;
21pub mod probe;
22pub mod registry;
23pub mod salvage;
24pub mod size;
25pub mod source;
26#[cfg(any(test, feature = "testing"))]
27pub mod testing;
28
29pub use archive::{
30 ArchiveRead, ArchiveWrite, Codec, Container, CreateOpts, DecodeOpts, EncodeOpts, Entry,
31 EntryKind, EntryMeta, OpenOpts, PlainSink, Sink,
32};
33pub use containment::{check_symlink_target, safe_join};
34pub use display::fmt_name;
35pub use error::{Error, Result};
36pub use fidelity::{Fidelity, FidelityReport, MetaFields, Rung};
37pub use format::{
38 CodecCaps, ContainerCaps, CorruptionDetection, FormatId, FormatKind, FormatMeta, MagicRule,
39};
40pub use governor::{BudgetInputs, Governor, LeaseSet, default_memory_limit, resolve_workers};
41pub use ladder::{Resolved, StreamPolicy, resolve};
42pub use probe::{
43 Chain, PROBE_LEN, chain_for_new_path, probe, resolve_chain, resolve_chain_deep,
44 resolve_chain_deep_with,
45};
46pub use registry::{FormatRow, Registry};
47pub use size::format_size;
48pub use source::{
49 Counting, CountingWriter, DEFAULT_MAX_RATIO, FileSource, PeekSource, RATIO_FLOOR, RatioGuard,
50 ReaderSource, SeekRead, Source, SourceCaps, SpillPolicy, SpillSource, SpillWriter, StreamOnly,
51};
52
53pub const VERSION: &str = env!("CARGO_PKG_VERSION");