TTKServer 0.22.5

RA-TLS HTTP/3 (QUIC) server and client for TEEs (AWS Nitro, AMD SEV-SNP, Intel TDX) with RFC 9711 EAT evidence
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 = "TTKServer"
version = "0.22.5"
build = false
include = [
    "src/**",
    "tests/**",
    "benches/**",
    "Cargo.toml",
    "Cargo.lock",
    "README.md",
    "LICENSE",
    "CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "TTKServer"
description = "RA-TLS HTTP/3 (QUIC) server and client for TEEs (AWS Nitro, AMD SEV-SNP, Intel TDX) with RFC 9711 EAT evidence"
readme = "README.md"
keywords = [
    "attestation",
    "ra-tls",
    "nitro-enclaves",
    "http3",
    "quic",
]
categories = [
    "cryptography",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/Lanetus/TTKServer"

[features]
default = [
    "nitro",
    "mock",
]
mock = ["dep:aws-nitro-enclaves-nsm-api"]
nitro = ["dep:aws-nitro-enclaves-nsm-api"]
sev-snp = []
tdx = []
test-client = []

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

[[bin]]
name = "TTKServer"
path = "src/main.rs"

[[bin]]
name = "client"
path = "src/bin/client.rs"
required-features = ["test-client"]

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

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "client"
path = "benches/client.rs"
harness = false
required-features = ["mock"]

[dependencies.aws-nitro-enclaves-nsm-api]
version = "0.4"
optional = true

[dependencies.axum]
version = "0.8.9"

[dependencies.base64]
version = "0.21"

[dependencies.bytes]
version = "1"

[dependencies.ciborium]
version = "0.2"

[dependencies.der-parser]
version = "10.0.0"

[dependencies.env_logger]
version = "0.11"

[dependencies.h3]
version = "0.0.7"

[dependencies.h3-quinn]
version = "0.0.9"

[dependencies.log]
version = "0.4"

[dependencies.quinn]
version = "0.11"

[dependencies.rcgen]
version = "0.13"

[dependencies.ring]
version = "0.17"

[dependencies.rustls]
version = "0.23"
features = ["ring"]

[dependencies.rustls-pki-types]
version = "1"

[dependencies.rustls-webpki]
version = "0.103"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.time]
version = "0.3.36"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tower-service]
version = "0.3"

[dependencies.x509-parser]
version = "0.18.1"
features = ["verify"]

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

[target.'cfg(target_os = "linux")'.dependencies.tokio-vsock]
version = "0.3"