saorsa-node 0.5.0

Pure quantum-proof network node for the Saorsa decentralized network
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"
rust-version = "1.75"
name = "saorsa-node"
version = "0.5.0"
authors = ["David Irvine <david.irvine@maidsafe.net>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure quantum-proof network node for the Saorsa decentralized network"
readme = "README.md"
keywords = [
    "p2p",
    "decentralized",
    "quantum-safe",
    "post-quantum",
    "dht",
]
categories = [
    "network-programming",
    "cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dirvine/saorsa-node"

[package.metadata.deb]
maintainer = "David Irvine <david.irvine@maidsafe.net>"
copyright = "2024-2025 Saorsa Labs"
license-file = [
    "LICENSE-MIT",
    "0",
]
extended-description = """
Saorsa Node is a pure quantum-proof network node for the Saorsa decentralized network.
It provides secure, private, and censorship-resistant data storage using post-quantum
cryptography (ML-DSA-65, ML-KEM-768). Features include:
- Quantum-resistant authentication and encryption
- Distributed Hash Table (DHT) with anti-Sybil protection
- Automatic upgrades with staged rollout
- Bootstrap node support for testnet deployment
"""
section = "net"
priority = "optional"
assets = [
    [
    "target/release/saorsa-node",
    "usr/bin/",
    "755",
],
    [
    "target/release/saorsa-keygen",
    "usr/bin/",
    "755",
],
    [
    "README.md",
    "usr/share/doc/saorsa-node/",
    "644",
],
]
conf-files = ["/etc/saorsa/config.toml"]
depends = "$auto"

[package.metadata.deb.systemd-units]
enable = true

[[package.metadata.generate-rpm.assets]]
source = "target/release/saorsa-node"
dest = "/usr/bin/saorsa-node"
mode = "755"

[[package.metadata.generate-rpm.assets]]
source = "target/release/saorsa-keygen"
dest = "/usr/bin/saorsa-keygen"
mode = "755"

[[package.metadata.generate-rpm.assets]]
source = "README.md"
dest = "/usr/share/doc/saorsa-node/README.md"
mode = "644"

[package.metadata.generate-rpm.requires]

[features]
default = []
dev = []
test-utils = []

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

[[bin]]
name = "saorsa-devnet"
path = "src/bin/saorsa-devnet/main.rs"

[[bin]]
name = "saorsa-keygen"
path = "src/bin/keygen.rs"

[[bin]]
name = "saorsa-node"
path = "src/bin/saorsa-node/main.rs"

[[test]]
name = "e2e"
path = "tests/e2e/mod.rs"
required-features = ["test-utils"]

[dependencies.aes-gcm-siv]
version = "0.11"

[dependencies.ant-evm]
version = "0.1.19"

[dependencies.blake3]
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4.5"
features = [
    "derive",
    "env",
]

[dependencies.color-eyre]
version = "0.6"

[dependencies.directories]
version = "5"

[dependencies.evmlib]
version = "0.4.9"

[dependencies.flate2]
version = "1"

[dependencies.futures]
version = "0.3"

[dependencies.heed]
version = "0.22"

[dependencies.hex]
version = "0.4"

[dependencies.hkdf]
version = "0.12"

[dependencies.libp2p]
version = "0.56"

[dependencies.lru]
version = "0.16.3"

[dependencies.multihash]
version = "0.19"

[dependencies.parking_lot]
version = "0.12"

[dependencies.postcard]
version = "1.1.3"
features = ["use-std"]

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "rustls",
]
default-features = false

[dependencies.rmp-serde]
version = "1"

[dependencies.saorsa-core]
version = "0.18.1"

[dependencies.saorsa-pqc]
version = "0.5"

[dependencies.self_encryption]
version = "0.35.0"

[dependencies.semver]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.tar]
version = "0.4"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1.35"
features = [
    "full",
    "signal",
]

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

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

[dependencies.xor_name]
version = "5"

[dev-dependencies.alloy]
version = "1"
features = ["node-bindings"]

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.serial_test]
version = "3"

[dev-dependencies.tokio-test]
version = "0.4"

[lints.clippy]
cognitive_complexity = "allow"
expect_used = "deny"
missing_const_for_fn = "allow"
panic = "deny"
unused_async = "allow"
unwrap_used = "deny"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "deny"

[profile.dev]
opt-level = 1

[profile.release]
lto = true
codegen-units = 1
panic = "abort"
strip = true