Skip to main content

Crate libarchive_oxide

Crate libarchive_oxide 

Source
Expand description

Archive detection, compression, extraction, and creation.

This crate adds codecs, zip/7z, filesystem operations, path sanitization, and output limits to libarchive_oxide_core.

Re-exports§

pub use async_seek::AsyncSeekArchiveReader;
pub use async_seek::AsyncSeekArchiveWriter;
pub use async_stream::AsyncArchiveReader;
pub use async_stream::AsyncArchiveWriter;
pub use create::CreateStreamError;
pub use create::StreamingArchiveBuilder;
pub use extractor::EntryOutcome;
pub use extractor::EntryOutcomeKind;
pub use extractor::ExtractionPolicy;
pub use extractor::ExtractionReport;
pub use extractor::Extractor;
pub use extractor::RejectionReason;
pub use filtered_io::FilterReader;
pub use path::sanitize;
pub use path::sanitize_archive_path;
pub use secret::SecretBytes;
pub use seek_stream::SeekArchiveReader;
pub use seek_stream::SeekArchiveWriter;
pub use spool::SpoolReader;
pub use spool::SpoolWriter;
pub use stream::ArchiveReader;
pub use stream::ArchiveWriter;
pub use stream::Pipeline;
pub use stream::PipelineEvent;
pub use stream::ReaderEvent;
pub use stream::StreamError;
pub use tokio_stream::TokioArchiveReader;
pub use tokio_stream::TokioArchiveWriter;
pub use tokio_stream::TokioExtractor;
pub use tokio_stream::TokioIo;
pub use tokio_stream::TokioSeekArchiveReader;
pub use tokio_stream::TokioSeekArchiveWriter;
pub use libarchive_oxide_core;

Modules§

async_seek
Runtime-neutral asynchronous adapters for seek-required archive formats.
async_stream
Runtime-neutral asynchronous archive adapters.
create
Bounded filesystem-to-archive streaming.
extractor
Capability-based streaming extraction.
filter
Compression filter implementations and runtime dispatch.
filtered_io
Bounded Read adapters for outer filters with native streaming APIs.
path
Safe conversion of archive entry paths into relative filesystem paths.
secret
Zeroizing secret values used by authenticated archive encryption.
seek_stream
Seek-capable streaming archive adapters.
spool
Explicit, bounded memory-to-temp-file spooling.
stream
Bounded pipelines and synchronous I/O adapters.
tokio_stream
Tokio poll shims over the runtime-neutral asynchronous archive adapters.

Enums§

CpioDialect
Output dialect selected for a cpio encoder.
ZipMethod
Compression method used for a streaming ZIP entry.

Functions§

filter_for_name
Returns the compression codec implied by a filename.