[package]
edition = "2021"
name = "thenodes"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "TheNodes is a modular, plugin-driven P2P node framework for Rust, supporting node-embedded plugins (NEP) and core-as-a-library (CAL) modes with async-first APIs."
homepage = "https://thenodes.dev"
documentation = "https://docs.rs/thenodes"
readme = "README.md"
keywords = [
"p2p",
"networking",
"async",
"plugins",
"security",
]
categories = [
"network-programming",
"asynchronous",
"cryptography",
]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/TheNodesDev/TheNodes"
[features]
default = []
noise = ["snow"]
[lib]
name = "thenodes"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "thenodes"
path = "src/main.rs"
[[bin]]
name = "thenodes-cert"
path = "src/bin/thenodes-cert.rs"
[[bin]]
name = "thenodes-ctl"
path = "src/bin/thenodes-ctl.rs"
[[example]]
name = "simple_node"
path = "examples/simple_node.rs"
[[test]]
name = "mtls"
path = "tests/mtls.rs"
[[test]]
name = "node_id_uniqueness"
path = "tests/node_id_uniqueness.rs"
[[test]]
name = "peer_store_cap"
path = "tests/peer_store_cap.rs"
[[test]]
name = "peer_store_persistence"
path = "tests/peer_store_persistence.rs"
[[test]]
name = "peer_store_ttl"
path = "tests/peer_store_ttl.rs"
[[test]]
name = "pins"
path = "tests/pins.rs"
[[test]]
name = "promotion_event"
path = "tests/promotion_event.rs"
[[test]]
name = "qos_behavior"
path = "tests/qos_behavior.rs"
[[test]]
name = "relay_helpers"
path = "tests/relay_helpers.rs"
[[test]]
name = "relay_notify"
path = "tests/relay_notify.rs"
[[test]]
name = "relay_store_forward"
path = "tests/relay_store_forward.rs"
[[test]]
name = "relay_ttl_unbind"
path = "tests/relay_ttl_unbind.rs"
[[test]]
name = "reliable_ack"
path = "tests/reliable_ack.rs"
[[test]]
name = "reliable_retry"
path = "tests/reliable_retry.rs"
[[test]]
name = "trust_policy"
path = "tests/trust_policy.rs"
[[test]]
name = "utils_naming"
path = "tests/utils_naming.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.base16ct]
version = "0.2"
features = ["alloc"]
[dependencies.base64]
version = "0.21"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.deunicode]
version = "1"
[dependencies.env_logger]
version = "0.11"
[dependencies.futures]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.libloading]
version = "0.7"
[dependencies.log]
version = "0.4"
[dependencies.once_cell]
version = "1.19"
[dependencies.parking_lot]
version = "0.12"
[dependencies.pem]
version = "3"
[dependencies.rand]
version = "0.8"
features = [
"std",
"small_rng",
]
[dependencies.rcgen]
version = "0.13"
[dependencies.rustls]
version = "0.22"
[dependencies.rustls-pemfile]
version = "1.0"
[dependencies.rustyline]
version = "12"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.snow]
version = "0.9"
optional = true
[dependencies.tokio]
version = "1.35"
features = ["full"]
[dependencies.tokio-rustls]
version = "0.25"
[dependencies.toml]
version = "0.8"
[dependencies.uuid]
version = "1.10"
features = ["v4"]
[dependencies.webpki]
version = "0.22"
[dependencies.webpki-roots]
version = "0.25"
[dependencies.x509-parser]
version = "0.16"
[dev-dependencies.tempfile]
version = "3.10"