pithos_lib 0.8.0

Library and components for encrypting / compressing pithos (.pith) files
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.89"
name = "pithos_lib"
version = "0.8.0"
authors = [
    "Jannis Schlegel <das_Abroxas@proton.me>",
    "Sebastian Beyvers <sb@pus.de>",
]
build = false
include = [
    "src/**/*.rs",
    "examples/**/*.rs",
    "README.md",
    "LICENSE-MIT",
    "LICENSE-APACHE",
    "!benches/**",
    "!tests/**",
]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library and components for encrypting / compressing pithos (.pith) files"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/arunaengine/pithos"
resolver = "2"

[features]
async = ["dep:futures-core"]
crypt4gh = ["dep:blake2"]
default = [
    "ro-crate",
    "crypt4gh",
]
fuzzing = ["crypt4gh"]
ro-crate = [
    "dep:ro-crate-rs",
    "dep:zip",
]

[lib]
name = "pithos_lib"
path = "src/lib.rs"
bench = false

[[example]]
name = "append"
path = "examples/append.rs"

[[example]]
name = "create"
path = "examples/create.rs"

[[example]]
name = "crypt4gh"
path = "examples/crypt4gh.rs"
required-features = ["crypt4gh"]

[[example]]
name = "extract"
path = "examples/extract.rs"

[[example]]
name = "grant_readers"
path = "examples/grant_readers.rs"

[[example]]
name = "open_list"
path = "examples/open_list.rs"

[[example]]
name = "read_ranges"
path = "examples/read_ranges.rs"

[[example]]
name = "ro_crate"
path = "examples/ro_crate.rs"
required-features = ["ro-crate"]

[dependencies.aes-gcm]
version = "0.11.1"
features = ["zeroize"]

[dependencies.blake2]
version = "0.10.6"
optional = true

[dependencies.blake3]
version = "1.8.2"

[dependencies.byteorder]
version = "1.5.0"

[dependencies.cap-std]
version = "4.0.2"

[dependencies.chacha20poly1305]
version = "0.11.0"
features = ["zeroize"]

[dependencies.crc32fast]
version = "1.5.0"

[dependencies.digest]
version = "0.11.3"

[dependencies.fastcdc]
version = "4.0.1"

[dependencies.futures-core]
version = "0.3.32"
optional = true
default-features = false

[dependencies.hkdf]
version = "0.13.0"

[dependencies.indexmap]
version = "2.11.0"

[dependencies.integer-encoding]
version = "4.1.0"

[dependencies.libc]
version = "0.2.178"

[dependencies.pkcs8]
version = "0.11.0"
features = [
    "pem",
    "alloc",
]

[dependencies.ro-crate-rs]
version = "0.5.1"
optional = true
default-features = false

[dependencies.rustix]
version = "1.1.4"
features = ["fs"]

[dependencies.sha2]
version = "0.11.0"

[dependencies.shake]
version = "0.1.0"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tracing]
version = "0.1.44"

[dependencies.x25519-dalek]
version = "3.0.0"
features = [
    "static_secrets",
    "getrandom",
]

[dependencies.zeroize]
version = "1.8.2"

[dependencies.zip]
version = "8.6.0"
features = [
    "deflate",
    "time",
]
optional = true
default-features = false

[dependencies.zstd]
version = "0.13.3"

[dev-dependencies.criterion]
version = "0.8.2"

[dev-dependencies.peak_alloc]
version = "0.3.0"

[dev-dependencies.proptest]
version = "1.6.0"

[dev-dependencies.rustversion]
version = "1.0.23"

[dev-dependencies.tempfile]
version = "3.21"

[dev-dependencies.tokio]
version = "1.52.3"
features = ["rt"]
default-features = false

[dev-dependencies.trybuild]
version = "1.0.104"