Skip to main content

Crate debrepo

Crate debrepo 

Source
Expand description

A Debian repository client library

Re-exports§

pub use smol_tar as tar;

Modules§

artifact
Artifact representations and readers for repository content.
auth
Authentication providers and credential handling. Authentication provider for transports. Supports static auth.toml files and Vault prefixes (see README for full format details).
cli
CLI-facing types and parsers shared by binaries.
comp
Compression utilities for repository files.
content
Repository content staging and file generation helpers.
control
Debian control file parsing and mutation.
deb
Debian package reader and staging utilities.
error
Error types for the library.
exec
Execution helpers for running external tools.
hash
Hashing helpers and digest encodings. Digest verification
podman
Podman-backed sandbox execution.
sandbox
Sandbox abstractions and executors.
universe
Package universe representation and query helpers.

Macros§

cli_commands
A small enum dispatch macro for defining CLI commands.

Structs§

Archive
Archive definition with suites and components.
BuildJob
Build job definition for repository builds.
Constraint
A dependency constraint with optional architecture and version range.
FileList
File list for staged package contents.
HostFileSystem
Staging filesystem implementation backed by the host OS.
HttpTransport
HTTP/HTTPS transport with optional auth and insecure mode.
Manifest
Top-level manifest model.
Package
Parsed binary package stanza.
Packages
Collection of packages parsed from a Packages file.
Release
Parsed Release file metadata.
ReleaseIndexFile
RepositoryFile
Repository file metadata and hashes.
SnapshotId
Snapshot identifier wrapping a UTC timestamp.
Source
Source package entry parsed from Sources indices.
SourceUniverse
Source package universe derived from archives.
Sources
Collection of source package entries.
Version
Version represents a single version number Debian-style version with optional epoch and revision.

Enums§

CompressionLevel
Level of compression data should be compressed with.
Dependency
PackageOrigin
SignedBy
Snapshot
VersionSet
A version set of a package.

Constants§

DEFAULT_ARCH

Traits§

Executor
Stage
StagingFile
StagingFileSystem
Defines a file system interface to deploy packages.
TransportProvider

Functions§

is_url
packer
strip_compression_ext
strip_url_scheme
unpacker