# 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"
name = "rns-ctl"
version = "0.2.4"
authors = ["rns-rs contributors"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reticulum Network Stack control tool"
readme = false
license-file = "LICENSE"
repository = "https://github.com/lelloman/rns-rs"

[features]
default = []
rns-hooks = ["rns-net/rns-hooks"]
tls = [
    "rustls",
    "rustls-pemfile",
]

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

[[bin]]
name = "rns-ctl"
path = "src/main.rs"

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

[dependencies.env_logger]
version = "0.11"

[dependencies.libc]
version = "0.2"

[dependencies.log]
version = "0.4"

[dependencies.rns-core]
version = "0.1.8"

[dependencies.rns-crypto]
version = "0.1.5"

[dependencies.rns-net]
version = "0.5.5"

[dependencies.rustls]
version = "0.23"
optional = true

[dependencies.rustls-pemfile]
version = "2"
optional = true

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

[dependencies.serde_json]
version = "1"

[dev-dependencies.rcgen]
version = "0.13"
features = [
    "aws_lc_rs",
    "pem",
]
default-features = false

[dev-dependencies.rustls]
version = "0.23"

[dev-dependencies.rustls-pemfile]
version = "2"
