Skip to content

Commit f4e268f

Browse files
committed
avoid implicit Cargo features
1 parent 948d0d4 commit f4e268f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bindgen-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ log = { version = "0.4", optional = true }
2929

3030
[features]
3131
default = ["logging", "runtime", "which-rustfmt"]
32-
logging = ["bindgen/logging", "env_logger", "log"]
32+
logging = ["bindgen/logging", "dep:env_logger", "dep:log"]
3333
static = ["bindgen/static"]
3434
runtime = ["bindgen/runtime"]
3535
# Dynamically discover a `rustfmt` binary using the `which` crate

bindgen/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ log = { version = "0.4", optional = true }
4444

4545
[features]
4646
default = ["logging", "runtime", "which-rustfmt"]
47-
logging = ["log"]
47+
logging = ["dep:log"]
4848
static = ["clang-sys/static"]
4949
runtime = ["clang-sys/runtime"]
5050
# Dynamically discover a `rustfmt` binary using the `which` crate
51-
which-rustfmt = ["which"]
52-
experimental = ["annotate-snippets"]
51+
which-rustfmt = ["dep:which"]
52+
experimental = ["dep:annotate-snippets"]
5353

5454
## The following features are for internal use and they shouldn't be used if
5555
## you're not hacking on bindgen

0 commit comments

Comments
 (0)