trussed-staging 0.5.0-rc.1

Work in progress trussed features
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 = "2021"
name = "trussed-staging"
version = "0.5.0-rc.1"
authors = ["Nitrokey GmbH <info@nitrokey.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Work in progress trussed features"
readme = "README.md"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/trussed-dev/trussed-staging"

[package.metadata.docs.rs]
all-features = true

[features]
chunked = [
    "trussed-chunked",
    "chacha20poly1305/stream",
    "dep:heapless",
    "dep:heapless-bytes",
]
default = ["chunked"]
fs-info = ["trussed-fs-info"]
hkdf = [
    "trussed-hkdf",
    "dep:hkdf",
    "dep:sha2",
]
hpke = [
    "trussed-hpke",
    "dep:hkdf",
    "dep:sha2",
    "dep:hex-literal",
    "dep:aead",
    "dep:chacha20poly1305",
]
log-all = []
log-debug = []
log-error = []
log-info = []
log-none = []
log-trace = []
log-warn = []
manage = ["trussed-manage"]
std = []
virt = [
    "std",
    "trussed/virt",
]
wrap-key-to-file = [
    "dep:chacha20poly1305",
    "trussed-wrap-key-to-file",
    "trussed/chacha8-poly1305",
]

[lib]
name = "trussed_staging"
path = "src/lib.rs"

[[test]]
name = "chunked"
path = "tests/chunked.rs"

[[test]]
name = "encrypted-chunked"
path = "tests/encrypted-chunked.rs"

[[test]]
name = "hkdf"
path = "tests/hkdf.rs"

[[test]]
name = "hpke"
path = "tests/hpke.rs"

[[test]]
name = "manage"
path = "tests/manage.rs"

[[test]]
name = "wrap_key_to_file"
path = "tests/wrap_key_to_file.rs"

[dependencies.aead]
version = "0.5.2"
optional = true
default-features = false

[dependencies.chacha20poly1305]
version = "0.10"
features = [
    "heapless",
    "reduced-round",
]
optional = true
default-features = false

[dependencies.delog]
version = "0.1.6"

[dependencies.digest]
version = "0.10.7"
default-features = false

[dependencies.heapless]
version = "0.9.1"
optional = true

[dependencies.heapless-bytes]
version = "0.5.0"
optional = true

[dependencies.hex-literal]
version = "0.4.0"
optional = true

[dependencies.hkdf]
version = "0.12"
optional = true

[dependencies.littlefs2-core]
version = "0.1"

[dependencies.rand_core]
version = "0.6.4"
default-features = false

[dependencies.salty]
version = "0.3.0"
default-features = false

[dependencies.serde]
version = "1.0.160"
features = ["derive"]
default-features = false

[dependencies.serde-byte-array]
version = "0.1.2"

[dependencies.sha2]
version = "0.10"
optional = true
default-features = false

[dependencies.trussed]
version = "=0.2.0-rc.1"
features = ["serde-extensions"]
default-features = false

[dependencies.trussed-chunked]
version = "0.3.0"
optional = true

[dependencies.trussed-core]
version = "0.2"

[dependencies.trussed-fs-info]
version = "0.3.0"
optional = true

[dependencies.trussed-hkdf]
version = "0.4.0"
optional = true

[dependencies.trussed-hpke]
version = "0.3.0"
optional = true

[dependencies.trussed-manage]
version = "0.3.0"
optional = true

[dependencies.trussed-wrap-key-to-file]
version = "0.3.0"
optional = true

[dev-dependencies.hex-literal]
version = "0.4.0"

[dev-dependencies.hmac]
version = "0.12.0"

[dev-dependencies.trussed]
version = "=0.2.0-rc.1"
features = [
    "aes256-cbc",
    "crypto-client",
    "filesystem-client",
    "hmac-sha256",
    "virt",
    "x255",
]
default-features = false