Skip to content

Commit a679ce6

Browse files
authored
Explicitly set Cargo resolver version in workspace (#188)
``` warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest ``` Context: rust-lang/cargo#10112
1 parent db82e98 commit a679ce6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[workspace]
2+
resolver = "2"
23
members = [
34
"native-pkcs11",
45
"native-pkcs11-core",

native-pkcs11/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ thiserror = "1.0.48"
2020
tracing = "0.1.37"
2121
tracing-error = "0.2.0"
2222
tracing-journald = "0.3"
23-
tracing-subscriber = "0.3.17"
23+
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
2424

2525
[lib]
2626
crate-type = ["lib", "cdylib"]

0 commit comments

Comments
 (0)