chore: Upgrade to 2021 edition (#808)
This commit is contained in:
+19
-19
@@ -1,10 +1,10 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "examples"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
publish = false
|
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
name = "examples"
|
||||||
|
publish = false
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "helloworld-server"
|
name = "helloworld-server"
|
||||||
@@ -179,38 +179,38 @@ name = "streaming-server"
|
|||||||
path = "src/streaming/server.rs"
|
path = "src/streaming/server.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../tonic", features = ["tls", "compression"] }
|
|
||||||
prost = "0.9"
|
|
||||||
tokio = { version = "1.0", features = ["rt-multi-thread", "time", "fs", "macros", "net"] }
|
|
||||||
tokio-stream = { version = "0.1", features = ["net"] }
|
|
||||||
async-stream = "0.3"
|
async-stream = "0.3"
|
||||||
futures = { version = "0.3", default-features = false, features = ["alloc"] }
|
futures = {version = "0.3", default-features = false, features = ["alloc"]}
|
||||||
tower = { version = "0.4" }
|
prost = "0.9"
|
||||||
|
tokio = {version = "1.0", features = ["rt-multi-thread", "time", "fs", "macros", "net"]}
|
||||||
|
tokio-stream = {version = "0.1", features = ["net"]}
|
||||||
|
tonic = {path = "../tonic", features = ["tls", "compression"]}
|
||||||
|
tower = {version = "0.4"}
|
||||||
# Required for routeguide
|
# Required for routeguide
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
|
||||||
serde_json = "1.0"
|
|
||||||
rand = "0.8"
|
rand = "0.8"
|
||||||
|
serde = {version = "1.0", features = ["derive"]}
|
||||||
|
serde_json = "1.0"
|
||||||
# Tracing
|
# Tracing
|
||||||
tracing = "0.1.16"
|
tracing = "0.1.16"
|
||||||
tracing-subscriber = { version = "0.2", features = ["tracing-log"] }
|
|
||||||
tracing-attributes = "0.1"
|
tracing-attributes = "0.1"
|
||||||
tracing-futures = "0.2"
|
tracing-futures = "0.2"
|
||||||
|
tracing-subscriber = {version = "0.2", features = ["tracing-log"]}
|
||||||
# Required for wellknown types
|
# Required for wellknown types
|
||||||
prost-types = "0.9"
|
prost-types = "0.9"
|
||||||
# Hyper example
|
# Hyper example
|
||||||
hyper = { version = "0.14", features = ["full"] }
|
|
||||||
warp = "0.3"
|
|
||||||
http = "0.2"
|
http = "0.2"
|
||||||
http-body = "0.4.2"
|
http-body = "0.4.2"
|
||||||
|
hyper = {version = "0.14", features = ["full"]}
|
||||||
pin-project = "1.0"
|
pin-project = "1.0"
|
||||||
|
warp = "0.3"
|
||||||
# Health example
|
# Health example
|
||||||
tonic-health = { path = "../tonic-health" }
|
tonic-health = {path = "../tonic-health"}
|
||||||
# Reflection example
|
# Reflection example
|
||||||
tonic-reflection = { path = "../tonic-reflection" }
|
|
||||||
listenfd = "0.3"
|
listenfd = "0.3"
|
||||||
|
tonic-reflection = {path = "../tonic-reflection"}
|
||||||
# grpc-web example
|
# grpc-web example
|
||||||
tonic-web = { path = "../tonic-web" }
|
|
||||||
bytes = "1"
|
bytes = "1"
|
||||||
|
tonic-web = {path = "../tonic-web"}
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { path = "../tonic-build", features = ["prost", "compression"] }
|
tonic-build = {path = "../tonic-build", features = ["prost", "compression"]}
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ Now that have defined the protobuf for our application we can start writing our
|
|||||||
[package]
|
[package]
|
||||||
name = "helloworld-tonic"
|
name = "helloworld-tonic"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
|
|
||||||
[[bin]] # Bin to run the HelloWorld gRPC server
|
[[bin]] # Bin to run the HelloWorld gRPC server
|
||||||
name = "helloworld-server"
|
name = "helloworld-server"
|
||||||
|
|||||||
+14
-14
@@ -1,10 +1,10 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "interop"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
publish = false
|
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
name = "interop"
|
||||||
|
publish = false
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "client"
|
name = "client"
|
||||||
@@ -15,24 +15,24 @@ name = "server"
|
|||||||
path = "src/bin/server.rs"
|
path = "src/bin/server.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tokio = { version = "1.0", features = ["rt-multi-thread", "time", "macros", "fs"] }
|
|
||||||
tokio-stream = "0.1"
|
|
||||||
async-stream = "0.3"
|
async-stream = "0.3"
|
||||||
tonic = { path = "../tonic", features = ["tls"] }
|
|
||||||
prost = "0.9"
|
|
||||||
prost-derive = "0.9"
|
|
||||||
bytes = "1.0"
|
bytes = "1.0"
|
||||||
http = "0.2"
|
console = "0.14"
|
||||||
futures-core = "0.3"
|
futures-core = "0.3"
|
||||||
futures-util = "0.3"
|
futures-util = "0.3"
|
||||||
tower = { version = "0.4" }
|
http = "0.2"
|
||||||
http-body = "0.4.2"
|
http-body = "0.4.2"
|
||||||
hyper = "0.14"
|
hyper = "0.14"
|
||||||
console = "0.14"
|
prost = "0.9"
|
||||||
|
prost-derive = "0.9"
|
||||||
structopt = "0.3"
|
structopt = "0.3"
|
||||||
|
tokio = {version = "1.0", features = ["rt-multi-thread", "time", "macros", "fs"]}
|
||||||
|
tokio-stream = "0.1"
|
||||||
|
tonic = {path = "../tonic", features = ["tls"]}
|
||||||
|
tower = {version = "0.4"}
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
tracing-subscriber = "0.2"
|
|
||||||
tracing-log = "0.1"
|
tracing-log = "0.1"
|
||||||
|
tracing-subscriber = "0.2"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { path = "../tonic-build", features = ["prost"] }
|
tonic-build = {path = "../tonic-build", features = ["prost"]}
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
edition = "2018"
|
edition = "2021"
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "ambiguous_methods"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["Yonathan Randolph <[email protected]>"]
|
authors = ["Yonathan Randolph <[email protected]>"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
publish = false
|
|
||||||
license = "MIT"
|
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
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path= "../../tonic" }
|
|
||||||
prost = "0.9"
|
prost = "0.9"
|
||||||
|
tonic = {path = "../../tonic"}
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { path= "../../tonic-build" }
|
tonic-build = {path = "../../tonic-build"}
|
||||||
|
|||||||
@@ -1,24 +1,24 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "compression"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
publish = false
|
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
name = "compression"
|
||||||
|
publish = false
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[dependencies]
|
[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"
|
bytes = "1"
|
||||||
futures = "0.3"
|
futures = "0.3"
|
||||||
pin-project = "1.0"
|
http = "0.2"
|
||||||
|
http-body = "0.4"
|
||||||
hyper = "0.14.3"
|
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]
|
[build-dependencies]
|
||||||
tonic-build = { path = "../../tonic-build", features = ["compression"] }
|
tonic-build = {path = "../../tonic-build", features = ["compression"]}
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "my_application"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["Danny Hua <[email protected]>"]
|
authors = ["Danny Hua <[email protected]>"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
publish = false
|
|
||||||
license = "MIT"
|
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
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path= "../../../tonic" }
|
|
||||||
prost = "0.9"
|
prost = "0.9"
|
||||||
prost-types = "0.9"
|
prost-types = "0.9"
|
||||||
uuid = { package = "uuid1", path= "../uuid" }
|
tonic = {path = "../../../tonic"}
|
||||||
|
uuid = {package = "uuid1", path = "../uuid"}
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { path= "../../../tonic-build" }
|
tonic-build = {path = "../../../tonic-build"}
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "uuid1"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["Danny Hua <[email protected]>"]
|
authors = ["Danny Hua <[email protected]>"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
publish = false
|
|
||||||
license = "MIT"
|
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
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
prost = "0.9"
|
|
||||||
bytes = "1.0"
|
bytes = "1.0"
|
||||||
|
prost = "0.9"
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
prost-build = "0.9"
|
prost-build = "0.9"
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "included_service"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
publish = false
|
|
||||||
license = "MIT"
|
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
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../tonic" }
|
|
||||||
prost = "0.9"
|
prost = "0.9"
|
||||||
|
tonic = {path = "../../tonic"}
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { path = "../../tonic-build" }
|
tonic-build = {path = "../../tonic-build"}
|
||||||
|
|||||||
@@ -1,29 +1,29 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "integration-tests"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
publish = false
|
|
||||||
license = "MIT"
|
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
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../tonic" }
|
|
||||||
prost = "0.9"
|
|
||||||
futures-util = "0.3"
|
|
||||||
bytes = "1.0"
|
bytes = "1.0"
|
||||||
|
futures-util = "0.3"
|
||||||
|
prost = "0.9"
|
||||||
|
tonic = {path = "../../tonic"}
|
||||||
|
|
||||||
[dev-dependencies]
|
[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"
|
futures = "0.3"
|
||||||
tower = { version = "0.4", features = [] }
|
|
||||||
http-body = "0.4"
|
|
||||||
http = "0.2"
|
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"
|
tracing-subscriber = "0.2"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { path = "../../tonic-build" }
|
tonic-build = {path = "../../tonic-build"}
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "root-crate-path"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
publish = false
|
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
name = "root-crate-path"
|
||||||
|
publish = false
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../tonic" }
|
|
||||||
prost = "0.9"
|
prost = "0.9"
|
||||||
|
tonic = {path = "../../tonic"}
|
||||||
|
|
||||||
[build_dependencies]
|
[build_dependencies]
|
||||||
tonic-build = { path = "../../tonic-build" }
|
tonic-build = {path = "../../tonic-build"}
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "same_name"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
publish = false
|
|
||||||
license = "MIT"
|
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
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../tonic" }
|
|
||||||
prost = "0.9"
|
prost = "0.9"
|
||||||
|
tonic = {path = "../../tonic"}
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { path = "../../tonic-build" }
|
tonic-build = {path = "../../tonic-build"}
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "service_named_service"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
publish = false
|
|
||||||
license = "MIT"
|
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
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../tonic" }
|
|
||||||
prost = "0.9"
|
prost = "0.9"
|
||||||
|
tonic = {path = "../../tonic"}
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { path = "../../tonic-build" }
|
tonic-build = {path = "../../tonic-build"}
|
||||||
|
|||||||
@@ -1,15 +1,15 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "stream_conflict"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["Ben Sully <[email protected]>"]
|
authors = ["Ben Sully <[email protected]>"]
|
||||||
|
edition = "2021"
|
||||||
|
name = "stream_conflict"
|
||||||
publish = false
|
publish = false
|
||||||
edition = "2018"
|
version = "0.1.0"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../tonic" }
|
|
||||||
prost = "0.9"
|
prost = "0.9"
|
||||||
|
tonic = {path = "../../tonic"}
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { path = "../../tonic-build" }
|
tonic-build = {path = "../../tonic-build"}
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wellknown-compiled"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
publish = false
|
|
||||||
license = "MIT"
|
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
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
@@ -12,9 +12,9 @@ license = "MIT"
|
|||||||
doctest = false
|
doctest = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../tonic" }
|
|
||||||
prost = "0.9"
|
prost = "0.9"
|
||||||
|
tonic = {path = "../../tonic"}
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
prost-build = "0.9"
|
prost-build = "0.9"
|
||||||
tonic-build = { path = "../../tonic-build" }
|
tonic-build = {path = "../../tonic-build"}
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "wellknown"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
publish = false
|
|
||||||
license = "MIT"
|
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
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../tonic" }
|
|
||||||
prost = "0.9"
|
prost = "0.9"
|
||||||
prost-types = "0.9"
|
prost-types = "0.9"
|
||||||
|
tonic = {path = "../../tonic"}
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { path = "../../tonic-build" }
|
tonic-build = {path = "../../tonic-build"}
|
||||||
|
|||||||
+14
-15
@@ -1,32 +1,31 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "tonic-build"
|
|
||||||
version = "0.6.0"
|
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2018"
|
categories = ["network-programming", "asynchronous"]
|
||||||
license = "MIT"
|
|
||||||
documentation = "https://docs.rs/tonic-build/0.6.0/tonic_build/"
|
|
||||||
repository = "https://github.com/hyperium/tonic"
|
|
||||||
homepage = "https://github.com/hyperium/tonic"
|
|
||||||
description = """
|
description = """
|
||||||
Codegen module of `tonic` gRPC implementation.
|
Codegen module of `tonic` gRPC implementation.
|
||||||
"""
|
"""
|
||||||
readme = "README.md"
|
documentation = "https://docs.rs/tonic-build/0.6.0/tonic_build/"
|
||||||
categories = ["network-programming", "asynchronous"]
|
edition = "2021"
|
||||||
|
homepage = "https://github.com/hyperium/tonic"
|
||||||
keywords = ["rpc", "grpc", "async", "codegen", "protobuf"]
|
keywords = ["rpc", "grpc", "async", "codegen", "protobuf"]
|
||||||
|
license = "MIT"
|
||||||
|
name = "tonic-build"
|
||||||
|
readme = "README.md"
|
||||||
|
repository = "https://github.com/hyperium/tonic"
|
||||||
|
version = "0.6.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
prost-build = { version = "0.9", optional = true }
|
|
||||||
syn = "1.0"
|
|
||||||
quote = "1.0"
|
|
||||||
proc-macro2 = "1.0"
|
proc-macro2 = "1.0"
|
||||||
|
prost-build = {version = "0.9", optional = true}
|
||||||
|
quote = "1.0"
|
||||||
|
syn = "1.0"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
|
compression = []
|
||||||
default = ["transport", "rustfmt", "prost"]
|
default = ["transport", "rustfmt", "prost"]
|
||||||
|
prost = ["prost-build"]
|
||||||
rustfmt = []
|
rustfmt = []
|
||||||
transport = []
|
transport = []
|
||||||
prost = ["prost-build"]
|
|
||||||
compression = []
|
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
all-features = true
|
all-features = true
|
||||||
+15
-15
@@ -1,34 +1,34 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "tonic-health"
|
|
||||||
version = "0.4.1"
|
|
||||||
authors = ["James Nugent <[email protected]>"]
|
authors = ["James Nugent <[email protected]>"]
|
||||||
edition = "2018"
|
categories = ["network-programming", "asynchronous"]
|
||||||
license = "MIT"
|
|
||||||
repository = "https://github.com/hyperium/tonic"
|
|
||||||
homepage = "https://github.com/hyperium/tonic"
|
|
||||||
documentation = "https://docs.rs/tonic-health/0.4.0/tonic-health/"
|
|
||||||
description = """
|
description = """
|
||||||
Health Checking module of `tonic` gRPC implementation.
|
Health Checking module of `tonic` gRPC implementation.
|
||||||
"""
|
"""
|
||||||
readme = "README.md"
|
documentation = "https://docs.rs/tonic-health/0.4.0/tonic-health/"
|
||||||
categories = ["network-programming", "asynchronous"]
|
edition = "2021"
|
||||||
|
homepage = "https://github.com/hyperium/tonic"
|
||||||
keywords = ["rpc", "grpc", "async", "healthcheck"]
|
keywords = ["rpc", "grpc", "async", "healthcheck"]
|
||||||
|
license = "MIT"
|
||||||
|
name = "tonic-health"
|
||||||
|
readme = "README.md"
|
||||||
|
repository = "https://github.com/hyperium/tonic"
|
||||||
|
version = "0.4.1"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["transport", "rustfmt"]
|
default = ["transport", "rustfmt"]
|
||||||
transport = ["tonic/transport", "tonic-build/transport"]
|
|
||||||
rustfmt = ["tonic-build/rustfmt"]
|
rustfmt = ["tonic-build/rustfmt"]
|
||||||
|
transport = ["tonic/transport", "tonic-build/transport"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tokio = { version = "1.0", features = ["sync"] }
|
async-stream = "0.3"
|
||||||
tonic = { version = "0.6", path = "../tonic", features = ["codegen", "prost"] }
|
|
||||||
bytes = "1.0"
|
bytes = "1.0"
|
||||||
prost = "0.9"
|
prost = "0.9"
|
||||||
|
tokio = {version = "1.0", features = ["sync"]}
|
||||||
tokio-stream = "0.1"
|
tokio-stream = "0.1"
|
||||||
async-stream = "0.3"
|
tonic = {version = "0.6", path = "../tonic", features = ["codegen", "prost"]}
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tokio = { version = "1.0", features = ["rt-multi-thread", "macros"]}
|
tokio = {version = "1.0", features = ["rt-multi-thread", "macros"]}
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { version = "0.6", path = "../tonic-build", features = ["prost"] }
|
tonic-build = {version = "0.6", path = "../tonic-build", features = ["prost"]}
|
||||||
|
|||||||
+13
-13
@@ -1,20 +1,20 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "tonic-reflection"
|
|
||||||
version = "0.2.0"
|
|
||||||
authors = [
|
authors = [
|
||||||
"James Nugent <[email protected]>",
|
"James Nugent <[email protected]>",
|
||||||
"Samani G. Gikandi <[email protected]>"
|
"Samani G. Gikandi <[email protected]>",
|
||||||
]
|
]
|
||||||
edition = "2018"
|
categories = ["network-programming", "asynchronous"]
|
||||||
license = "MIT"
|
|
||||||
repository = "https://github.com/hyperium/tonic"
|
|
||||||
homepage = "https://github.com/hyperium/tonic"
|
|
||||||
description = """
|
description = """
|
||||||
Server Reflection module of `tonic` gRPC implementation.
|
Server Reflection module of `tonic` gRPC implementation.
|
||||||
"""
|
"""
|
||||||
readme = "README.md"
|
edition = "2021"
|
||||||
categories = ["network-programming", "asynchronous"]
|
homepage = "https://github.com/hyperium/tonic"
|
||||||
keywords = ["rpc", "grpc", "async", "reflection"]
|
keywords = ["rpc", "grpc", "async", "reflection"]
|
||||||
|
license = "MIT"
|
||||||
|
name = "tonic-reflection"
|
||||||
|
readme = "README.md"
|
||||||
|
repository = "https://github.com/hyperium/tonic"
|
||||||
|
version = "0.2.0"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["rustfmt"]
|
default = ["rustfmt"]
|
||||||
@@ -24,12 +24,12 @@ rustfmt = ["tonic-build/rustfmt"]
|
|||||||
bytes = "1.0"
|
bytes = "1.0"
|
||||||
prost = "0.9"
|
prost = "0.9"
|
||||||
prost-types = "0.9"
|
prost-types = "0.9"
|
||||||
tokio = { version = "1.0", features = ["sync"] }
|
tokio = {version = "1.0", features = ["sync"]}
|
||||||
tokio-stream = { version = "0.1", features = ["net"] }
|
tokio-stream = {version = "0.1", features = ["net"]}
|
||||||
tonic = { version = "0.6", path = "../tonic", features = ["codegen", "prost"] }
|
tonic = {version = "0.6", path = "../tonic", features = ["codegen", "prost"]}
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { version = "0.6", path = "../tonic-build", features = ["transport", "prost"] }
|
tonic-build = {version = "0.6", path = "../tonic-build", features = ["transport", "prost"]}
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
futures = "0.3"
|
futures = "0.3"
|
||||||
|
|||||||
@@ -1,18 +1,18 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "tonic-types"
|
|
||||||
version = "0.4.0"
|
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2018"
|
categories = ["web-programming", "network-programming", "asynchronous"]
|
||||||
license = "MIT"
|
|
||||||
documentation = "https://docs.rs/tonic-types/0.4.0/tonic-types/"
|
|
||||||
repository = "https://github.com/hyperium/tonic"
|
|
||||||
homepage = "https://github.com/hyperium/tonic"
|
|
||||||
description = """
|
description = """
|
||||||
A collection of useful protobuf types that can be used with `tonic`.
|
A collection of useful protobuf types that can be used with `tonic`.
|
||||||
"""
|
"""
|
||||||
readme = "../README.md"
|
documentation = "https://docs.rs/tonic-types/0.4.0/tonic-types/"
|
||||||
categories = ["web-programming", "network-programming", "asynchronous"]
|
edition = "2021"
|
||||||
|
homepage = "https://github.com/hyperium/tonic"
|
||||||
keywords = ["rpc", "grpc", "protobuf"]
|
keywords = ["rpc", "grpc", "protobuf"]
|
||||||
|
license = "MIT"
|
||||||
|
name = "tonic-types"
|
||||||
|
readme = "../README.md"
|
||||||
|
repository = "https://github.com/hyperium/tonic"
|
||||||
|
version = "0.4.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
prost = "0.9"
|
prost = "0.9"
|
||||||
|
|||||||
+16
-16
@@ -1,31 +1,31 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "tonic-web"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["Juan Alvarez <[email protected]>"]
|
authors = ["Juan Alvarez <[email protected]>"]
|
||||||
edition = "2018"
|
categories = ["network-programming", "asynchronous"]
|
||||||
license = "MIT"
|
|
||||||
documentation = "https://docs.rs/tonic-web/0.1.0/tonic-web/"
|
|
||||||
repository = "https://github.com/hyperium/tonic"
|
|
||||||
homepage = "https://github.com/hyperium/tonic"
|
|
||||||
description = """
|
description = """
|
||||||
grpc-web protocol translation for tonic services.
|
grpc-web protocol translation for tonic services.
|
||||||
"""
|
"""
|
||||||
readme = "README.md"
|
documentation = "https://docs.rs/tonic-web/0.1.0/tonic-web/"
|
||||||
categories = ["network-programming", "asynchronous"]
|
edition = "2021"
|
||||||
|
homepage = "https://github.com/hyperium/tonic"
|
||||||
keywords = ["rpc", "grpc", "grpc-web"]
|
keywords = ["rpc", "grpc", "grpc-web"]
|
||||||
|
license = "MIT"
|
||||||
|
name = "tonic-web"
|
||||||
|
readme = "README.md"
|
||||||
|
repository = "https://github.com/hyperium/tonic"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { version = "0.6", path = "../tonic", default-features = false, features = ["transport"] }
|
|
||||||
http = "0.2"
|
|
||||||
base64 = "0.13"
|
base64 = "0.13"
|
||||||
futures-core = "0.3"
|
|
||||||
bytes = "1.0"
|
bytes = "1.0"
|
||||||
hyper = "0.14"
|
futures-core = "0.3"
|
||||||
|
http = "0.2"
|
||||||
http-body = "0.4"
|
http-body = "0.4"
|
||||||
|
hyper = "0.14"
|
||||||
|
pin-project = "1"
|
||||||
|
tonic = {version = "0.6", path = "../tonic", default-features = false, features = ["transport"]}
|
||||||
tower-service = "0.3"
|
tower-service = "0.3"
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
pin-project = "1"
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tokio = { version = "1", features = ["macros", "rt"] }
|
tokio = {version = "1", features = ["macros", "rt"]}
|
||||||
tonic = { path = "../tonic", default-features = false, features = ["transport", "tls"] }
|
tonic = {path = "../tonic", default-features = false, features = ["transport", "tls"]}
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "integration"
|
|
||||||
version = "0.1.0"
|
|
||||||
authors = ["Juan Alvarez <[email protected]>"]
|
authors = ["Juan Alvarez <[email protected]>"]
|
||||||
|
edition = "2021"
|
||||||
|
name = "integration"
|
||||||
publish = false
|
publish = false
|
||||||
edition = "2018"
|
version = "0.1.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../../tonic" }
|
|
||||||
tonic-web = { path = "../../../tonic-web" }
|
|
||||||
prost = "0.9"
|
|
||||||
tokio = { version = "1", features = ["macros", "rt", "net"] }
|
|
||||||
base64 = "0.13"
|
base64 = "0.13"
|
||||||
bytes = "1.0"
|
bytes = "1.0"
|
||||||
tokio-stream = { version = "0.1", features = ["net"] }
|
|
||||||
hyper = "0.14"
|
hyper = "0.14"
|
||||||
|
prost = "0.9"
|
||||||
|
tokio = {version = "1", features = ["macros", "rt", "net"]}
|
||||||
|
tokio-stream = {version = "0.1", features = ["net"]}
|
||||||
|
tonic = {path = "../../../tonic"}
|
||||||
|
tonic-web = {path = "../../../tonic-web"}
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = { path = "../../../tonic-build" }
|
tonic-build = {path = "../../../tonic-build"}
|
||||||
|
|||||||
+51
-51
@@ -8,97 +8,97 @@ name = "tonic"
|
|||||||
# - README.md
|
# - README.md
|
||||||
# - Update CHANGELOG.md.
|
# - Update CHANGELOG.md.
|
||||||
# - Create "v0.6.x" git tag.
|
# - Create "v0.6.x" git tag.
|
||||||
version = "0.6.0"
|
|
||||||
authors = ["Lucio Franco <[email protected]>"]
|
authors = ["Lucio Franco <[email protected]>"]
|
||||||
edition = "2018"
|
categories = ["web-programming", "network-programming", "asynchronous"]
|
||||||
license = "MIT"
|
|
||||||
documentation = "https://docs.rs/tonic/0.6.0/tonic/"
|
|
||||||
repository = "https://github.com/hyperium/tonic"
|
|
||||||
homepage = "https://github.com/hyperium/tonic"
|
|
||||||
description = """
|
description = """
|
||||||
A gRPC over HTTP/2 implementation focused on high performance, interoperability, and flexibility.
|
A gRPC over HTTP/2 implementation focused on high performance, interoperability, and flexibility.
|
||||||
"""
|
"""
|
||||||
readme = "../README.md"
|
documentation = "https://docs.rs/tonic/0.6.0/tonic/"
|
||||||
categories = ["web-programming", "network-programming", "asynchronous"]
|
edition = "2021"
|
||||||
|
homepage = "https://github.com/hyperium/tonic"
|
||||||
keywords = ["rpc", "grpc", "async", "futures", "protobuf"]
|
keywords = ["rpc", "grpc", "async", "futures", "protobuf"]
|
||||||
|
license = "MIT"
|
||||||
|
readme = "../README.md"
|
||||||
|
repository = "https://github.com/hyperium/tonic"
|
||||||
|
version = "0.6.0"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["transport", "codegen", "prost"]
|
|
||||||
codegen = ["async-trait"]
|
codegen = ["async-trait"]
|
||||||
transport = [
|
|
||||||
"h2",
|
|
||||||
"hyper",
|
|
||||||
"tokio",
|
|
||||||
"tower",
|
|
||||||
"tracing-futures",
|
|
||||||
"tokio/macros",
|
|
||||||
"tokio/time",
|
|
||||||
"hyper-timeout",
|
|
||||||
]
|
|
||||||
tls = ["transport", "tokio-rustls"]
|
|
||||||
tls-roots-common = ["tls"]
|
|
||||||
tls-roots = ["tls-roots-common", "rustls-native-certs"]
|
|
||||||
tls-webpki-roots = ["tls-roots-common", "webpki-roots"]
|
|
||||||
prost = ["prost1", "prost-derive"]
|
|
||||||
compression = ["flate2"]
|
compression = ["flate2"]
|
||||||
|
default = ["transport", "codegen", "prost"]
|
||||||
|
prost = ["prost1", "prost-derive"]
|
||||||
|
tls = ["transport", "tokio-rustls"]
|
||||||
|
tls-roots = ["tls-roots-common", "rustls-native-certs"]
|
||||||
|
tls-roots-common = ["tls"]
|
||||||
|
tls-webpki-roots = ["tls-roots-common", "webpki-roots"]
|
||||||
|
transport = [
|
||||||
|
"h2",
|
||||||
|
"hyper",
|
||||||
|
"tokio",
|
||||||
|
"tower",
|
||||||
|
"tracing-futures",
|
||||||
|
"tokio/macros",
|
||||||
|
"tokio/time",
|
||||||
|
"hyper-timeout",
|
||||||
|
]
|
||||||
|
|
||||||
# [[bench]]
|
# [[bench]]
|
||||||
# name = "bench_main"
|
# name = "bench_main"
|
||||||
# harness = false
|
# harness = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bytes = "1.0"
|
|
||||||
futures-core = { version = "0.3", default-features = false }
|
|
||||||
futures-util = { version = "0.3", default-features = false }
|
|
||||||
tracing = "0.1"
|
|
||||||
http = "0.2"
|
|
||||||
base64 = "0.13"
|
base64 = "0.13"
|
||||||
|
bytes = "1.0"
|
||||||
|
futures-core = {version = "0.3", default-features = false}
|
||||||
|
futures-util = {version = "0.3", default-features = false}
|
||||||
|
http = "0.2"
|
||||||
|
tracing = "0.1"
|
||||||
|
|
||||||
percent-encoding = "2.1"
|
|
||||||
tower-service = "0.3"
|
|
||||||
tower-layer = "0.3"
|
|
||||||
tokio-util = { version = "0.6", features = ["codec"] }
|
|
||||||
async-stream = "0.3"
|
async-stream = "0.3"
|
||||||
http-body = "0.4.2"
|
http-body = "0.4.2"
|
||||||
|
percent-encoding = "2.1"
|
||||||
pin-project = "1.0"
|
pin-project = "1.0"
|
||||||
|
tokio-util = {version = "0.6", features = ["codec"]}
|
||||||
|
tower-layer = "0.3"
|
||||||
|
tower-service = "0.3"
|
||||||
|
|
||||||
# prost
|
# prost
|
||||||
prost1 = { package = "prost", version = "0.9", optional = true }
|
prost-derive = {version = "0.9", optional = true}
|
||||||
prost-derive = { version = "0.9", optional = true }
|
prost1 = {package = "prost", version = "0.9", optional = true}
|
||||||
|
|
||||||
# codegen
|
# codegen
|
||||||
async-trait = { version = "0.1.13", optional = true }
|
async-trait = {version = "0.1.13", optional = true}
|
||||||
|
|
||||||
# transport
|
# transport
|
||||||
h2 = { version = "0.3", optional = true }
|
h2 = {version = "0.3", optional = true}
|
||||||
hyper = { version = "0.14.2", features = ["full"], optional = true }
|
hyper = {version = "0.14.2", features = ["full"], optional = true}
|
||||||
tokio = { version = "1.0.1", features = ["net"], optional = true }
|
hyper-timeout = {version = "0.4", optional = true}
|
||||||
|
tokio = {version = "1.0.1", features = ["net"], optional = true}
|
||||||
tokio-stream = "0.1"
|
tokio-stream = "0.1"
|
||||||
tower = { version = "0.4.7", features = ["balance", "buffer", "discover", "limit", "load", "make", "timeout", "util"], optional = true }
|
tower = {version = "0.4.7", features = ["balance", "buffer", "discover", "limit", "load", "make", "timeout", "util"], optional = true}
|
||||||
tracing-futures = { version = "0.2", optional = true }
|
tracing-futures = {version = "0.2", optional = true}
|
||||||
hyper-timeout = { version = "0.4", optional = true }
|
|
||||||
|
|
||||||
# rustls
|
# rustls
|
||||||
tokio-rustls = { version = "0.22", optional = true }
|
rustls-native-certs = {version = "0.5", optional = true}
|
||||||
rustls-native-certs = { version = "0.5", optional = true }
|
tokio-rustls = {version = "0.22", optional = true}
|
||||||
webpki-roots = { version = "0.21.1", optional = true }
|
webpki-roots = {version = "0.21.1", optional = true}
|
||||||
|
|
||||||
# compression
|
# compression
|
||||||
flate2 = { version = "1.0", optional = true }
|
flate2 = {version = "1.0", optional = true}
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tokio = { version = "1.0", features = ["rt", "macros"] }
|
|
||||||
static_assertions = "1.0"
|
|
||||||
rand = "0.8"
|
|
||||||
bencher = "0.1.5"
|
bencher = "0.1.5"
|
||||||
quickcheck = "1.0"
|
quickcheck = "1.0"
|
||||||
quickcheck_macros = "1.0"
|
quickcheck_macros = "1.0"
|
||||||
tower = { version = "0.4.7", features = ["full"] }
|
rand = "0.8"
|
||||||
|
static_assertions = "1.0"
|
||||||
|
tokio = {version = "1.0", features = ["rt", "macros"]}
|
||||||
|
tower = {version = "0.4.7", features = ["full"]}
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
all-features = true
|
all-features = true
|
||||||
rustdoc-args = ["--cfg", "docsrs"]
|
rustdoc-args = ["--cfg", "docsrs"]
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "decode"
|
|
||||||
harness = false
|
harness = false
|
||||||
|
name = "decode"
|
||||||
|
|||||||
Reference in New Issue
Block a user