Skip to content

Commit af0751d

Browse files
david-monroestepancheg
authored andcommitted
Select log version 0.4
`0.*` selects is essentially the same as `*` since `0.1`, `0.2`, etc. do not have to have a compatible API. Every other crate using logging depends on `0.4`. Do the same here for consistency. Using `0.*` is also incompatible with `-Z minimal-versions` because it selects `0.1` which does not compile with any post 1.0 rust compiler.
1 parent 2044851 commit af0751d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

protobuf-parse/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Files are parsed into a `protobuf::descriptor::FileDescriptorSet` object using e
1616

1717
[dependencies]
1818
tempfile = "3.2.0"
19-
log = "0.*"
19+
log = "0.4"
2020
which = "4.0"
2121
anyhow = "1.0.53"
2222
thiserror = "1.0.30"

test-crates/protobuf-codegen-protoc-test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ with-bytes = ["bytes", "protobuf/with-bytes", "protobuf-test-common/with-bytes"]
1717

1818
[build-dependencies]
1919
glob = "0.2"
20-
log = "0.*"
20+
log = "0.4"
2121
env_logger = "0.5.*"
2222

2323
protoc-bin-vendored = "=3.0.0"

test-crates/protobuf-codegen-pure-test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ with-bytes = ["bytes", "protobuf/with-bytes", "protobuf-test-common/with-bytes"]
1919
protobuf-codegen = { path = "../../protobuf-codegen" }
2020
protobuf-test-common = { path = "../../test-crates/protobuf-test-common" }
2121
glob = "0.2"
22-
log = "0.*"
22+
log = "0.4"
2323
env_logger = "0.5.*"
2424

2525
[dependencies]

test-crates/protobuf-fuzz/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ with-bytes = ["bytes", "protobuf/with-bytes", "protobuf-test-common/with-bytes"]
1717
protobuf-codegen = { path = "../../protobuf-codegen" }
1818
protobuf-test-common = { path = "../../test-crates/protobuf-test-common" }
1919
glob = "0.2"
20-
log = "0.*"
20+
log = "0.4"
2121
env_logger = "0.5.*"
2222

2323
[dependencies]

test-crates/protobuf-test-common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ with-bytes = ["bytes", "protobuf/with-bytes"]
2020
[dependencies]
2121
anyhow = "1.0.53"
2222
glob = "0.2"
23-
log = "0.*"
23+
log = "0.4"
2424
env_logger = "0.5.*"
2525
tempfile = "3.0"
2626
bytes = { version = "1.1", optional = true }

0 commit comments

Comments
 (0)