chore: Upgrade to 2021 edition (#808)

This commit is contained in:
Lucio Franco
2021-10-24 21:12:20 -04:00
committed by GitHub
parent cc2b1634e2
commit 1f3df8db9e
23 changed files with 250 additions and 251 deletions
+6 -6
View File
@@ -1,16 +1,16 @@
[package]
name = "ambiguous_methods"
version = "0.1.0"
authors = ["Yonathan Randolph <[email protected]>"]
edition = "2018"
publish = false
edition = "2021"
license = "MIT"
name = "ambiguous_methods"
publish = false
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tonic = { path= "../../tonic" }
prost = "0.9"
tonic = {path = "../../tonic"}
[build-dependencies]
tonic-build = { path= "../../tonic-build" }
tonic-build = {path = "../../tonic-build"}
+14 -14
View File
@@ -1,24 +1,24 @@
[package]
name = "compression"
version = "0.1.0"
authors = ["Lucio Franco <[email protected]>"]
edition = "2018"
publish = false
edition = "2021"
license = "MIT"
name = "compression"
publish = false
version = "0.1.0"
[dependencies]
tonic = { path = "../../tonic", features = ["compression"] }
prost = "0.9"
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "net"] }
tower = { version = "0.4", features = [] }
http-body = "0.4"
http = "0.2"
tokio-stream = { version = "0.1.5", features = ["net"] }
tower-http = { version = "0.1", features = ["map-response-body", "map-request-body"] }
bytes = "1"
futures = "0.3"
pin-project = "1.0"
http = "0.2"
http-body = "0.4"
hyper = "0.14.3"
pin-project = "1.0"
prost = "0.9"
tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]}
tokio-stream = {version = "0.1.5", features = ["net"]}
tonic = {path = "../../tonic", features = ["compression"]}
tower = {version = "0.4", features = []}
tower-http = {version = "0.1", features = ["map-response-body", "map-request-body"]}
[build-dependencies]
tonic-build = { path = "../../tonic-build", features = ["compression"] }
tonic-build = {path = "../../tonic-build", features = ["compression"]}
+7 -7
View File
@@ -1,18 +1,18 @@
[package]
name = "my_application"
version = "0.1.0"
authors = ["Danny Hua <[email protected]>"]
edition = "2018"
publish = false
edition = "2021"
license = "MIT"
name = "my_application"
publish = false
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tonic = { path= "../../../tonic" }
prost = "0.9"
prost-types = "0.9"
uuid = { package = "uuid1", path= "../uuid" }
tonic = {path = "../../../tonic"}
uuid = {package = "uuid1", path = "../uuid"}
[build-dependencies]
tonic-build = { path= "../../../tonic-build" }
tonic-build = {path = "../../../tonic-build"}
+5 -5
View File
@@ -1,15 +1,15 @@
[package]
name = "uuid1"
version = "0.1.0"
authors = ["Danny Hua <[email protected]>"]
edition = "2018"
publish = false
edition = "2021"
license = "MIT"
name = "uuid1"
publish = false
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
prost = "0.9"
bytes = "1.0"
prost = "0.9"
[build-dependencies]
prost-build = "0.9"
+6 -6
View File
@@ -1,16 +1,16 @@
[package]
name = "included_service"
version = "0.1.0"
authors = ["Lucio Franco <[email protected]>"]
edition = "2018"
publish = false
edition = "2021"
license = "MIT"
name = "included_service"
publish = false
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.9"
tonic = {path = "../../tonic"}
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
tonic-build = {path = "../../tonic-build"}
+14 -14
View File
@@ -1,29 +1,29 @@
[package]
name = "integration-tests"
version = "0.1.0"
authors = ["Lucio Franco <[email protected]>"]
edition = "2018"
publish = false
edition = "2021"
license = "MIT"
name = "integration-tests"
publish = false
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.9"
futures-util = "0.3"
bytes = "1.0"
futures-util = "0.3"
prost = "0.9"
tonic = {path = "../../tonic"}
[dev-dependencies]
tokio = { version = "1.0", features = ["macros", "rt-multi-thread", "net"] }
tokio-stream = { version = "0.1.5", features = ["net"] }
tower-service = "0.3"
hyper = "0.14"
futures = "0.3"
tower = { version = "0.4", features = [] }
http-body = "0.4"
http = "0.2"
http-body = "0.4"
hyper = "0.14"
tokio = {version = "1.0", features = ["macros", "rt-multi-thread", "net"]}
tokio-stream = {version = "0.1.5", features = ["net"]}
tower = {version = "0.4", features = []}
tower-service = "0.3"
tracing-subscriber = "0.2"
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
tonic-build = {path = "../../tonic-build"}
+6 -6
View File
@@ -1,14 +1,14 @@
[package]
name = "root-crate-path"
version = "0.1.0"
authors = ["Lucio Franco <[email protected]>"]
edition = "2018"
publish = false
edition = "2021"
license = "MIT"
name = "root-crate-path"
publish = false
version = "0.1.0"
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.9"
tonic = {path = "../../tonic"}
[build_dependencies]
tonic-build = { path = "../../tonic-build" }
tonic-build = {path = "../../tonic-build"}
+6 -6
View File
@@ -1,16 +1,16 @@
[package]
name = "same_name"
version = "0.1.0"
authors = ["Lucio Franco <[email protected]>"]
edition = "2018"
publish = false
edition = "2021"
license = "MIT"
name = "same_name"
publish = false
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.9"
tonic = {path = "../../tonic"}
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
tonic-build = {path = "../../tonic-build"}
+6 -6
View File
@@ -1,16 +1,16 @@
[package]
name = "service_named_service"
version = "0.1.0"
authors = ["Lucio Franco <[email protected]>"]
edition = "2018"
publish = false
edition = "2021"
license = "MIT"
name = "service_named_service"
publish = false
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.9"
tonic = {path = "../../tonic"}
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
tonic-build = {path = "../../tonic-build"}
+5 -5
View File
@@ -1,15 +1,15 @@
[package]
name = "stream_conflict"
version = "0.1.0"
authors = ["Ben Sully <[email protected]>"]
edition = "2021"
name = "stream_conflict"
publish = false
edition = "2018"
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.9"
tonic = {path = "../../tonic"}
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
tonic-build = {path = "../../tonic-build"}
+6 -6
View File
@@ -1,10 +1,10 @@
[package]
name = "wellknown-compiled"
version = "0.1.0"
authors = ["Lucio Franco <[email protected]>"]
edition = "2018"
publish = false
edition = "2021"
license = "MIT"
name = "wellknown-compiled"
publish = false
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@@ -12,9 +12,9 @@ license = "MIT"
doctest = false
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.9"
tonic = {path = "../../tonic"}
[build-dependencies]
prost-build = "0.9"
tonic-build = { path = "../../tonic-build" }
tonic-build = {path = "../../tonic-build"}
+6 -6
View File
@@ -1,17 +1,17 @@
[package]
name = "wellknown"
version = "0.1.0"
authors = ["Lucio Franco <[email protected]>"]
edition = "2018"
publish = false
edition = "2021"
license = "MIT"
name = "wellknown"
publish = false
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tonic = { path = "../../tonic" }
prost = "0.9"
prost-types = "0.9"
tonic = {path = "../../tonic"}
[build-dependencies]
tonic-build = { path = "../../tonic-build" }
tonic-build = {path = "../../tonic-build"}