# 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 = "echonet" version = "1.3.1" authors = ["Satoshi Konno "] 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" [[example]] name = "uechosearch" path = "examples/uechosearch/uechosearch.rs" [[example]] name = "uechopost" path = "examples/uechopost/uechopost.rs" [[example]] name = "uechobench" path = "examples/uechobench/uechobench.rs" [[example]] name = "monolight" path = "examples/monolight/monolight.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.16.0" optional = true [dependencies.log] version = "0.4.20" default-features = false [dependencies.net2] version = "0.2" optional = true [dependencies.nix] version = "0.25.0" optional = true [dependencies.once_cell] version = "1.17.0" features = ["std"] optional = true default-features = false [dependencies.pnet] version = "0.28.0" optional = true [dependencies.strum] version = "0.25" default-features = false [dependencies.strum_macros] version = "0.25" default-features = false [dependencies.uuid] version = "1.4.1" features = ["v4"] optional = true [dev-dependencies.signal-hook] version = "0.3.14" [features] default = ["std"] esp = [ "no_std", "dep:esp-idf-sys", ] no_std = ["once_cell"] once_cell = ["dep:once_cell"] std = [ "once_cell", "unix", "dep:uuid", ] unix = [ "dep:pnet", "dep:ipnetwork", "dep:nix", "dep:net2", ]