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 2036a2b commit 51b942a
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,23 @@ keywords = ["echonet", "echonet-lite", "std", "no_std"]

[features]
default = ["std"]
std = ["once_cell", "unix", "dep:uuid"]
no_std = ["once_cell"]
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"]
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}
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}
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}
pnet = { version = "0.28.0", optional = true }
ipnetwork = { version = "0.16.0", optional = true }
nix = { version = "0.25.0", optional = true }
Expand Down

0 comments on commit 51b942a

Please sign in to comment.