[package]
edition = "2024"
rust-version = "1.90"
name = "echonet"
version = "1.3.2"
authors = ["The uecho-rs Authors <skonno@cybergarage.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ECHONET Lite framework for Rust"
homepage = "http://www.cybergarage.org/"
readme = "README.md"
keywords = [
"echonet",
"echonet-lite",
"std",
"no_std",
]
categories = ["network-programming"]
license = "Apache-2.0"
repository = "https://github.com/cybergarage/uecho-rs"
[features]
default = ["unix"]
esp = [
"no_std",
"dep:esp-idf-sys",
]
no_std = []
once_cell = ["dep:once_cell"]
std = ["dep:uuid"]
unix = [
"std",
"dep:pnet",
"dep:ipnetwork",
"dep:nix",
"dep:net2",
]
win = [
"std",
"dep:pnet",
"dep:ipnetwork",
"dep:net2",
]
[lib]
name = "echonet"
path = "src/lib.rs"
[[bin]]
name = "uechobench"
path = "bin/uechobench/uechobench.rs"
[[bin]]
name = "uechopost"
path = "bin/uechopost/uechopost.rs"
[[bin]]
name = "uechosearch"
path = "bin/uechosearch/uechosearch.rs"
[[example]]
name = "monolight"
path = "examples/monolight/monolight.rs"
[[test]]
name = "node_test"
path = "tests/node_test.rs"
[[test]]
name = "test"
path = "tests/test.rs"
[dependencies.chrono]
version = "0.4"
[dependencies.esp-idf-sys]
version = "0.33.2"
features = ["binstart"]
optional = true
[dependencies.hex]
version = "0.4"
[dependencies.ipnetwork]
version = "0.21"
optional = true
[dependencies.log]
version = "0.4.20"
default-features = false
[dependencies.net2]
version = "0.2"
optional = true
[dependencies.nix]
version = "0.31"
features = ["socket"]
optional = true
[dependencies.once_cell]
version = "1.21"
features = ["std"]
optional = true
default-features = false
[dependencies.pnet]
version = "0.35"
optional = true
[dependencies.strum]
version = "0.28"
default-features = false
[dependencies.strum_macros]
version = "0.28"
default-features = false
[dependencies.uuid]
version = "1.22"
features = ["v4"]
optional = true
[dev-dependencies.signal-hook]
version = "0.4"