Skip to content

Commit

Permalink
Update Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
cybergarage committed Sep 23, 2023
1 parent 85e8298 commit d030ae3
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "echonet"
version = "1.3.1"
version = "1.3.2"
authors = ["Satoshi Konno <[email protected]>"]
edition = "2021"
readme = "README.md"
Expand All @@ -13,24 +13,21 @@ categories = ["network-programming"]
keywords = ["echonet", "echonet-lite", "std", "no_std"]

[features]
default = ["std"]
std = ["std_deps", "unix"]
std_win = ["std_deps", "win"]
no_std = ["no_std_deps"]
std_deps = ["dep:log", "dep:uuid", "no_std_deps"]
no_std_deps = ["once_cell", "dep:strum", "dep:strum_macros"]
unix = ["dep:pnet", "dep:ipnetwork", "dep:nix", "dep:net2"]
win = ["dep:pnet", "dep:ipnetwork", "dep:net2"]
default = ["unix"]
std = ["once_cell", "dep:uuid"]
no_std = ["once_cell"]
unix = ["std", "dep:pnet", "dep:ipnetwork", "dep:nix", "dep:net2"]
win = ["std", "dep:pnet", "dep:ipnetwork", "dep:net2"]
esp = ["no_std", "dep:esp-idf-sys"]
once_cell=["dep:once_cell"]
once_cell = ["dep:once_cell"]

[dependencies]
hex = "0.4"
chrono = "0.4"
log = {version = "0.4.20", default-features = false, optional = true}
strum = {version = "0.25", default-features = false, optional = true}
strum_macros = {version = "0.25", default-features = false, optional = true}
once_cell = {version = "1.17.0", default-features = false, optional = true}
log = {version = "0.4.20", default-features = false}
strum = {version = "0.25", default-features = false}
strum_macros = {version = "0.25", default-features = false}
once_cell = {version = "1.17.0", default-features = false, features = ["std"], optional = true}
pnet = { version = "0.28.0", optional = true }
ipnetwork = { version = "0.16.0", optional = true }
nix = { version = "0.25.0", optional = true }
Expand All @@ -55,4 +52,4 @@ path = "examples/uechobench/uechobench.rs"

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

0 comments on commit d030ae3

Please sign in to comment.