[package]
edition = "2024"
name = "saorsa-core"
version = "0.26.2"
authors = ["Saorsa Labs Limited <david@saorsalabs.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Saorsa - Core P2P networking library with DHT, QUIC transport, and post-quantum cryptography"
homepage = "https://github.com/WithAutonomi/saorsa-core"
documentation = "https://docs.rs/saorsa-core"
readme = "README.md"
keywords = [
"p2p",
"networking",
"dht",
"quic",
"decentralized",
]
categories = [
"network-programming",
"asynchronous",
"cryptography",
]
license = "AGPL-3.0"
repository = "https://github.com/WithAutonomi/saorsa-core"
[package.metadata.docs.rs]
no-default-features = false
default-target = "x86_64-unknown-linux-gnu"
[lib]
name = "saorsa_core"
path = "src/lib.rs"
[[test]]
name = "dht_self_advertisement"
path = "tests/dht_self_advertisement.rs"
[[test]]
name = "masque_relay_e2e"
path = "tests/masque_relay_e2e.rs"
[[test]]
name = "node_lifecycle"
path = "tests/node_lifecycle.rs"
[[test]]
name = "stale_session_reconnect"
path = "tests/stale_session_reconnect.rs"
[[test]]
name = "sybil_protection"
path = "tests/sybil_protection.rs"
[[test]]
name = "trust_flow"
path = "tests/trust_flow.rs"
[[test]]
name = "two_node_messaging"
path = "tests/two_node_messaging.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.blake3]
version = "1.6"
[dependencies.bytes]
version = "1.10"
[dependencies.dashmap]
version = "6"
[dependencies.dirs]
version = "6.0"
[dependencies.futures]
version = "0.3"
[dependencies.hex]
version = "0.4"
[dependencies.lru]
version = "0.16"
[dependencies.once_cell]
version = "1.21"
[dependencies.parking_lot]
version = "0.12"
[dependencies.postcard]
version = "1.1.3"
features = ["use-std"]
[dependencies.rand]
version = "0.8"
[dependencies.saorsa-pqc]
version = "0.5"
[dependencies.saorsa-transport]
version = "0.35.1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.tempfile]
version = "3.17"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.49"
features = ["full"]
[dependencies.tokio-util]
version = "0.7"
features = ["rt"]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1.14"
features = [
"v4",
"serde",
]
[dependencies.wyz]
version = "=0.5.1"
[dev-dependencies.tempfile]
version = "3.17"
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]