Skip to content

Commit

Permalink
Keep supporting log
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Sep 4, 2023
1 parent f2c94b4 commit b52dafb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion ads129x/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ embedded-hal = { workspace = true }
embedded-hal-async = { workspace = true }
register-access = { path = "../register-access" }
logger = { workspace = true }
log = { workspace = true, optional = true }
defmt = { workspace = true, optional = true }

[features]
default = []
defmt = ["dep:defmt", "logger/defmt", "device-descriptor/defmt"]
log = ["logger/log"]
log = ["dep:log", "logger/log"]
3 changes: 2 additions & 1 deletion bad-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ embedded-svc = { workspace = true }
heapless = { workspace = true }
httparse = { version = "1.8", default-features = false }
logger = { workspace = true }
log = { workspace = true, optional = true }
smol = { version = "1", optional = true }
object-chain = { workspace = true }
const-fnv1a-hash = "1.1"
Expand All @@ -26,7 +27,7 @@ simple_logger = "4.1"
default = []
std = ["async-io", "smol"]
embassy = ["embassy-net"]
log = ["logger/log"]
log = ["dep:log", "logger/log"]
defmt = ["dep:defmt", "logger/defmt"]

[[example]]
Expand Down
3 changes: 2 additions & 1 deletion config-site/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ embassy-sync = { workspace = true, optional = true }
embedded-io = { workspace = true, optional = true }
heapless = { workspace = true }
logger = { workspace = true }
log = { workspace = true, optional = true }
norfs = { git = "https://github.com/card-io-ecg/norfs.git", optional = true }
smol = { version = "1.3", optional = true }

Expand All @@ -31,5 +32,5 @@ smol = "1"
default = []
embedded = ["dep:norfs", "dep:embassy-sync", "dep:embedded-io"]
std = ["dep:smol", "bad-server/std"]
log = ["bad-server/log"]
log = ["dep:log", "bad-server/log"]
defmt = ["dep:defmt", "bad-server/defmt"]
3 changes: 2 additions & 1 deletion max17055/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ embedded-hal = { workspace = true }
embedded-hal-async = { workspace = true }
register-access = { path = "../register-access" }
defmt = { workspace = true, optional = true }
log = { workspace = true, optional = true }
logger = { workspace = true }

[features]
default = []
defmt = ["dep:defmt", "device-descriptor/defmt", "logger/defmt"]
log = ["logger/log"]
log = ["dep:log", "logger/log"]

0 comments on commit b52dafb

Please sign in to comment.