trustless-protocol 0.2.2

Protocol utilities for trustless
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"
name = "trustless-protocol"
version = "0.2.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Protocol utilities for trustless"
homepage = "https://github.com/sorah/trustless"
readme = false
keywords = ["trustless"]
license = "Apache-2.0"
repository = "https://github.com/sorah/trustless"

[features]
encrypted-key = [
    "provider-helpers",
    "dep:pkcs8",
    "dep:aes",
    "dep:cbc",
    "dep:cipher",
    "dep:md-5",
    "dep:base64ct",
]
provider-helpers = [
    "dep:rustls-pki-types",
    "dep:x509-parser",
    "rustls/aws_lc_rs",
]
test-helpers = ["provider-helpers"]

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

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

[dependencies.aes]
version = "0.8"
optional = true

[dependencies.base64ct]
version = "1"
features = ["alloc"]
optional = true

[dependencies.bytes]
version = "1"

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

[dependencies.cipher]
version = "0.4"
features = [
    "alloc",
    "block-padding",
]
optional = true

[dependencies.futures-util]
version = "0.3"
features = ["sink"]

[dependencies.md-5]
version = "0.10"
optional = true

[dependencies.pkcs8]
version = "0.10"
features = [
    "encryption",
    "pem",
    "std",
]
optional = true

[dependencies.rustls]
version = "0.23"
features = ["std"]
default-features = false

[dependencies.rustls-pki-types]
version = "1"
features = ["std"]
optional = true

[dependencies.secrecy]
version = "0.10"
features = ["serde"]

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_with]
version = "3"
features = ["base64"]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "full",
    "io-util",
    "io-std",
    "sync",
    "rt",
    "macros",
]

[dependencies.tokio-util]
version = "0.7"
features = ["codec"]

[dependencies.tracing]
version = "0.1"

[dependencies.x509-parser]
version = "0.16"
optional = true

[dependencies.zeroize]
version = "1"

[dev-dependencies.rcgen]
version = "0.13"