-
Notifications
You must be signed in to change notification settings - Fork 505
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update internal crates to Rust edition 2021 (#1039)
The published crates were already using edition 2021. Update all internal crates as well. Also add a new tests-2018 crate that runs all tests using edition 2018.
- Loading branch information
1 parent
95dcb0e
commit a21d90c
Showing
8 changed files
with
45 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[package] | ||
name = "tests-2018" | ||
version = "0.0.0" | ||
authors = [ | ||
"Dan Burkert <dan@danburkert.com>", | ||
"Tokio Contributors <team@tokio.rs>", | ||
] | ||
publish = false | ||
edition = "2018" | ||
|
||
build = "../tests/src/build.rs" | ||
|
||
[lib] | ||
doctest = false | ||
path = "../tests/src/lib.rs" | ||
|
||
[features] | ||
default = ["std"] | ||
std = [] | ||
|
||
[dependencies] | ||
anyhow = "1.0.1" | ||
bytes = "1" | ||
cfg-if = "1" | ||
prost = { path = "../prost" } | ||
prost-types = { path = "../prost-types" } | ||
protobuf = { path = "../protobuf" } | ||
|
||
[dev-dependencies] | ||
diff = "0.1" | ||
prost-build = { path = "../prost-build", features = ["cleanup-markdown"] } | ||
tempfile = "3" | ||
|
||
[build-dependencies] | ||
cfg-if = "1" | ||
env_logger = { version = "0.10", default-features = false } | ||
prost-build = { path = "../prost-build" } | ||
protobuf = { path = "../protobuf" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters