Skip to content

Commit d88761a

Browse files
committed
Disable default features on env_logger
The `env_logger` crate is used in tests and examples for logging output. It has default features that rely on `is-terminal`, which relies on `rustix`. `rustix` doesn't compile on the `esp*` targets, and thus using this project on such targets fails. The simplest solution is to disable the default features.
1 parent 05263e7 commit d88761a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

matter/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ num = "0.4"
3131
num-derive = "0.3.3"
3232
num-traits = "0.2.15"
3333
log = { version = "0.4.17", features = ["max_level_debug", "release_max_level_debug"] }
34-
env_logger = "0.10.0"
34+
env_logger = { version = "0.10.0", default-features = false, features = [] }
3535
rand = "0.8.5"
3636
esp-idf-sys = { version = "0.32", features = ["binstart"], optional = true }
3737
openssl = { git = "https://github.com/sfackler/rust-openssl", optional = true }

0 commit comments

Comments
 (0)