Skip to content

Commit

Permalink
Update Tonic to 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Jan 16, 2021
1 parent 563e192 commit 3ace9d7
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 34 deletions.
58 changes: 30 additions & 28 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ actix-web = { version = "4.0.0-beta.1", default-features = false, features = ["c
serde = { version = "1.0.92", features = ["derive"] }
# grpc dependencies
prost = { version = "0.7", optional = true }
tonic = { version = "0.3", optional = true }
tonic = { version = "0.4", optional = true }
futures = { version = "0.3", default-features = false, features = ["alloc"], optional = true }
tokio = { version = "1.0", features = ["rt-multi-thread", "time", "macros"], optional = true }
bytes = { version = "1.0", optional = true }
Expand All @@ -44,7 +44,7 @@ jemallocator = { version = "0.3.0", features= ["unprefixed_malloc_on_supported_p
mimalloc = {version = "0.1"}

[build-dependencies]
tonic-build = { version = "0.3", default-features = false, features = ["transport", "prost"], optional = true }
tonic-build = { version = "0.4", default-features = false, features = ["transport", "prost"], optional = true }

[features]
default = ["http", "grpc"]
Expand All @@ -56,7 +56,3 @@ lto = true

[dev-dependencies]
actix-rt = "2.0.0-beta.2"

[patch.crates-io]
tonic = { git = "https://github.com/hyperium/tonic.git" }
tonic-build = { git = "https://github.com/hyperium/tonic.git" }

0 comments on commit 3ace9d7

Please sign in to comment.