Skip to main content

zarchive_rs/
lib.rs

1#![doc = include_str!("../README.md")]
2
3mod convenience;
4mod error;
5mod ffi;
6mod reader;
7mod writer;
8
9pub use convenience::{ExtractOptions, extract, extract_with_options, pack_dir};
10pub use error::{Error, Result};
11pub use reader::{Archive, ArchiveFile, DirEntry, EntryKind, EntryMetadata, OpenOptions, ReadDir};
12pub use writer::{ArchiveWriter, EntryWriter};
13
14// Ensure Cargo retains and links the native library emitted by zstd-sys.
15use zstd_sys as _;