Skip to content

Commit

Permalink
allow tonic and tonic-build v0.11. (#194)
Browse files Browse the repository at this point in the history
Signed-off-by: Runji Wang <[email protected]>
  • Loading branch information
wangrunji0408 authored Feb 27, 2024
1 parent f1a50dc commit 0edf7c4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## tonic [0.4.2] tonic-build [0.4.3] - 2024-02-27

### Changed

- Allow `tonic` and `tonic-build` v0.11.

## madsim [0.2.25] - 2024-02-26

### Added
Expand Down
4 changes: 2 additions & 2 deletions madsim-tonic-build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "madsim-tonic-build"
version = "0.4.2+0.10.0"
version = "0.4.3+0.10.0"
edition = "2021"
authors = [
"Lucio Franco <[email protected]>",
Expand All @@ -21,7 +21,7 @@ proc-macro2 = "1"
prost-build = { version = "0.12", optional = true }
quote = "1"
syn = "2"
tonic-build = "0.10.0"
tonic-build = ">=0.10"

[features]
compression = []
Expand Down
9 changes: 6 additions & 3 deletions madsim-tonic/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "madsim-tonic"
version = "0.4.0+0.10.0"
version = "0.4.2+0.10.0"
edition = "2021"
authors = ["Runji Wang <[email protected]>"]
description = "The `tonic` simulator on madsim."
Expand All @@ -16,14 +16,17 @@ license = "Apache-2.0"
tls = ["tonic/tls"]

[target.'cfg(not(madsim))'.dependencies]
tonic = "0.10.0"
tonic = ">=0.10"

[target.'cfg(madsim)'.dependencies]
async-stream = "0.3"
chrono = { version = "0.4", default-features = false, features = ["clock"] }
futures-util = "0.3"
madsim = { version = "0.2.20", path = "../madsim" }
tracing = "0.1"
tonic = { version = "0.10.0", default-features = false, features = ["codegen", "transport"] }
tonic = { version = ">=0.10", default-features = false, features = [
"codegen",
"transport",
] }
tokio = "1"
tower = { version = "0.4.7" }

0 comments on commit 0edf7c4

Please sign in to comment.