[package]
edition = "2021"
name = "rns-net"
version = "0.7.2"
authors = ["rns-rs contributors"]
build = "build.rs"
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Network interfaces and node driver for the Reticulum Network Stack"
readme = false
license-file = "LICENSE"
repository = "https://github.com/lelloman/rns-rs"
[features]
default = [
"iface-tcp",
"iface-udp",
"iface-local",
"iface-auto",
"iface-serial",
"iface-kiss",
"iface-ax25-kiss",
"iface-pipe",
"iface-rnode",
"iface-backbone",
"iface-i2p",
"iface-weave",
]
hooks = []
iface-auto = []
iface-ax25-kiss = ["iface-kiss"]
iface-backbone = []
iface-i2p = []
iface-kiss = []
iface-local = []
iface-pipe = []
iface-rnode = []
iface-serial = []
iface-tcp = []
iface-udp = []
iface-weave = []
rns-hooks = ["rns-hooks-native"]
rns-hooks-builtin = [
"hooks",
"dep:rns-hooks-crate",
"dep:serde",
"dep:postcard",
]
rns-hooks-native = [
"hooks",
"dep:rns-hooks-crate",
"rns-hooks-crate/native",
"dep:serde",
"dep:postcard",
]
rns-hooks-wasm = [
"hooks",
"dep:rns-hooks-crate",
"rns-hooks-crate/wasm",
"dep:serde",
"dep:postcard",
]
[lib]
name = "rns_net"
path = "src/lib.rs"
[[example]]
name = "echo"
path = "examples/echo.rs"
[[example]]
name = "message"
path = "examples/message.rs"
[[example]]
name = "repro_issue_2"
path = "examples/repro_issue_2.rs"
[[example]]
name = "rnode_hil"
path = "examples/rnode_hil.rs"
[[example]]
name = "rnode_lora"
path = "examples/rnode_lora.rs"
[[example]]
name = "rnsd"
path = "examples/rnsd.rs"
[[example]]
name = "tcp_connect"
path = "examples/tcp_connect.rs"
[[example]]
name = "weave_hil"
path = "examples/weave_hil.rs"
required-features = ["iface-weave"]
[[test]]
name = "e2e"
path = "tests/e2e.rs"
[[test]]
name = "e2e_hooks"
path = "tests/e2e_hooks.rs"
[[test]]
name = "ifac_interop"
path = "tests/ifac_interop.rs"
[[test]]
name = "python_interop"
path = "tests/python_interop.rs"
[[test]]
name = "resource_streaming_vectors"
path = "tests/resource_streaming_vectors.rs"
[[test]]
name = "reticulum_138_fixtures"
path = "tests/reticulum_138_fixtures.rs"
[[test]]
name = "reticulum_139_fixtures"
path = "tests/reticulum_139_fixtures.rs"
[[test]]
name = "reticulum_140_fixtures"
path = "tests/reticulum_140_fixtures.rs"
[[bench]]
name = "link_dispatch"
path = "benches/link_dispatch.rs"
harness = false
[[bench]]
name = "shared_client_replay"
path = "benches/shared_client_replay.rs"
harness = false
[dependencies.bzip2]
version = "0.6"
features = [
"bzip2-sys",
"static",
]
default-features = false
[dependencies.libc]
version = "0.2"
[dependencies.log]
version = "0.4"
[dependencies.polling]
version = "3"
[dependencies.postcard]
version = "1.1.3"
features = ["alloc"]
optional = true
default-features = false
[dependencies.rayon]
version = "1"
[dependencies.rns-core]
version = "0.1.17"
[dependencies.rns-crypto]
version = "0.1.10"
[dependencies.rns-hooks-crate]
version = "0.1.10"
optional = true
default-features = false
package = "rns-hooks"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.socket2]
version = "0.6"
features = ["all"]
[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]
[dev-dependencies.ctrlc]
version = "3"
[dev-dependencies.env_logger]
version = "0.11"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tempfile]
version = "3"