# 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 = "reticulum-sdk"
version = "2.0.8"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
reticulum-sdk is a Rust implementation of the Reticulum Network Stack - a cryptographic,
decentralised, and resilient mesh networking protocol designed for communication over any physical 
layer.

This project brings Reticulum's capabilities to the Rust ecosystem, enabling embedded, and 
constrained deployments with maximum performance and minimal dependencies.
"""
readme = "README.md"
keywords = [
    "reticulum",
    "mesh",
    "radio",
    "async",
]
categories = ["network-programming"]
license = "MIT"
repository = "https://github.com/ReticulaLabs/reticulum-sdk"

[features]
alloc = []
default = ["alloc"]
fernet-aes128 = []

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

[[example]]
name = "link_client"
path = "examples/link_client.rs"

[[example]]
name = "multihop"
path = "examples/multihop.rs"

[[example]]
name = "tcp_client"
path = "examples/tcp_client.rs"

[[example]]
name = "tcp_server"
path = "examples/tcp_server.rs"

[[example]]
name = "testnet_client"
path = "examples/testnet_client.rs"

[[example]]
name = "udp_link"
path = "examples/udp_link.rs"

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

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

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

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

[dependencies.aes]
version = "0.8.4"

[dependencies.cbc]
version = "0.1.2"

[dependencies.crypto-common]
version = "0.1.6"
features = ["rand_core"]

[dependencies.ed25519-dalek]
version = "2.1.1"
features = ["rand_core"]

[dependencies.env_logger]
version = "0.10"

[dependencies.hkdf]
version = "0.12.4"

[dependencies.hmac]
version = "0.12.1"

[dependencies.libc]
version = "0.2.172"

[dependencies.log]
version = "0.4.27"

[dependencies.prost]
version = "0.13.5"

[dependencies.rand_core]
version = "0.6.4"
features = ["getrandom"]

[dependencies.rmp]
version = "0.8.14"

[dependencies.rmpv]
version = "1.3.0"

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

[dependencies.serde_json]
version = "1.0.140"

[dependencies.sha2]
version = "0.10.8"

[dependencies.subtle]
version = "2"

[dependencies.tokio]
version = "1.44.2"
features = ["full"]

[dependencies.tokio-serial]
version = "5.4.5"

[dependencies.tokio-stream]
version = "0.1.17"

[dependencies.tokio-util]
version = "0.7.15"

[dependencies.tonic]
version = "0.13.0"

[dependencies.x25519-dalek]
version = "2.0.1"
features = ["static_secrets"]

[dev-dependencies.tokio]
version = "1.44.2"
features = ["test-util"]

[build-dependencies.tonic-build]
version = "0.13.0"
