enclavia-protocol 0.1.0

Shared wire types and Noise+CBOR responder helpers used by the Enclavia server, router, and SDK.
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.88"
name = "enclavia-protocol"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared wire types and Noise+CBOR responder helpers used by the Enclavia server, router, and SDK."
homepage = "https://enclavia.io"
documentation = "https://docs.rs/enclavia-protocol"
readme = "README.md"
keywords = [
    "enclave",
    "attestation",
    "nitro",
    "noise-protocol",
]
categories = [
    "cryptography",
    "network-programming",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/EnclaviaIO/enclavia"

[features]
async-transport = [
    "tokio",
    "tracing",
]
default = [
    "async-transport",
    "egress-config",
]
egress-config = [
    "dep:ipnet",
    "tracing",
]
test-utils = []

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

[dependencies.aes]
version = "0.8"

[dependencies.attestation-doc-validation]
version = "0.10"

[dependencies.aws-nitro-enclaves-nsm-api]
version = "0.4"
default-features = false

[dependencies.base64]
version = "0.22"

[dependencies.cbc]
version = "0.1"
features = [
    "std",
    "block-padding",
]

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.ciborium]
version = "0.2"

[dependencies.cms]
version = "0.2"

[dependencies.der]
version = "0.7"

[dependencies.hex]
version = "0.4"

[dependencies.ipnet]
version = "2"
features = ["serde"]
optional = true

[dependencies.p256]
version = "0.13"
features = [
    "ecdsa",
    "std",
    "arithmetic",
]
default-features = false

[dependencies.rand]
version = "0.8"

[dependencies.rsa]
version = "0.9"
features = ["sha2"]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_bytes]
version = "0.11"

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.snow]
version = "0.9"

[dependencies.spki]
version = "0.7"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "net",
    "io-util",
    "macros",
    "rt-multi-thread",
    "process",
    "time",
]
optional = true

[dependencies.tracing]
version = "0.1"
optional = true

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dependencies.x509-cert]
version = "0.2"

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