[package]
edition = "2021"
name = "hatchery-c2-protocol"
version = "0.2.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Stable, serde-only inventory and control wire contract for C2 relays and clients"
readme = false
license = "MIT"
repository = "https://github.com/ZENG3LD/hatchery"
[features]
default = []
nested-crypto = [
"dep:sha2",
"dep:getrandom",
"dep:x25519-dalek",
"dep:chacha20poly1305",
"dep:snow",
]
[lib]
name = "hatchery_c2_protocol"
path = "src/lib.rs"
[dependencies.chacha20poly1305]
version = "0.10"
optional = true
[dependencies.gate4agent-build-stamp]
version = "0.5.2"
[dependencies.gate4agent-node-protocol]
version = "0.5.2"
[dependencies.gate4agent-types]
version = "0.5.2"
[dependencies.getrandom]
version = "0.2"
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.sha2]
version = "0.10"
optional = true
[dependencies.snow]
version = "0.10"
optional = true
[dependencies.x25519-dalek]
version = "2"
features = ["static_secrets"]
optional = true
default-features = false
[dev-dependencies.serde_json]
version = "1"