Skip to content

Commit f4ecf47

Browse files
authoredJan 14, 2020
chore: Prepare 0.1.0 release (hyperium#234)
1 parent 6ee2ed9 commit f4ecf47

File tree

7 files changed

+90
-74
lines changed

7 files changed

+90
-74
lines changed
 

‎CHANGELOG.md

+79-63
Large diffs are not rendered by default.

‎examples/helloworld-tutorial.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,12 @@ name = "helloworld-client"
113113
path = "src/client.rs"
114114

115115
[dependencies]
116-
tonic = "0.1.0-beta.1"
116+
tonic = "0.1.0"
117117
prost = "0.6"
118118
tokio = { version = "0.2", features = ["macros"] }
119119

120120
[build-dependencies]
121-
tonic-build = "0.1.0-beta.1"
121+
tonic-build = "0.1.0"
122122
```
123123

124124
We include `tonic-build` as a useful way to incorporate the generation of our client and server gRPC code into the build process of our application. We will setup this build process now:

‎examples/routeguide-tutorial.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ Edit `Cargo.toml` and add all the dependencies we'll need for this example:
180180

181181
```toml
182182
[dependencies]
183-
tonic = "0.1.0-beta.1"
183+
tonic = "0.1.0"
184184
prost = "0.6"
185185
futures-core = "0.3"
186186
futures-util = "0.3"
@@ -192,7 +192,7 @@ serde_json = "1.0"
192192
rand = "0.7"
193193

194194
[build-dependencies]
195-
tonic-build = "0.1.0-beta.1"
195+
tonic-build = "0.1.0"
196196
```
197197

198198
Create a `build.rs` file at the root of your crate:

‎tonic-build/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
name = "tonic-build"
3-
version = "0.1.0-beta.1"
3+
version = "0.1.0"
44
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
55
edition = "2018"
66
license = "MIT"
7-
documentation = "https://docs.rs/tonic/0.1.0-beta.1/tonic/"
7+
documentation = "https://docs.rs/tonic/0.1.0/tonic/"
88
repository = "https://github.com/hyperium/tonic"
99
homepage = "https://github.com/hyperium/tonic"
1010
description = """

‎tonic-build/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
#![doc(
5454
html_logo_url = "https://github.com/hyperium/tonic/raw/master/.github/assets/tonic-docs.png"
5555
)]
56-
#![doc(html_root_url = "https://docs.rs/tonic-build/0.1.0-beta.1")]
56+
#![doc(html_root_url = "https://docs.rs/tonic-build/0.1.0")]
5757
#![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]
5858
#![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]
5959

‎tonic/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ name = "tonic"
88
# - README.md
99
# - Update CHANGELOG.md.
1010
# - Create "v0.1.x" git tag.
11-
version = "0.1.0-beta.1"
11+
version = "0.1.0"
1212
authors = ["Lucio Franco <luciofranco14@gmail.com>"]
1313
edition = "2018"
1414
license = "MIT"
15-
documentation = "https://docs.rs/tonic/0.1.0-beta.1/tonic/"
15+
documentation = "https://docs.rs/tonic/0.1.0/tonic/"
1616
repository = "https://github.com/hyperium/tonic"
1717
homepage = "https://github.com/hyperium/tonic"
1818
description = """
@@ -42,7 +42,7 @@ tls-roots = ["tls", "rustls-native-certs"]
4242

4343
[dependencies]
4444
bytes = "0.5"
45-
futures-core = "0.3"
45+
futures-core = { version = "0.3", default-features = false }
4646
futures-util = { version = "0.3", default-features = false }
4747
tracing = "0.1"
4848
http = "0.2"

‎tonic/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
#![doc(
7272
html_logo_url = "https://github.com/hyperium/tonic/raw/master/.github/assets/tonic-docs.png"
7373
)]
74-
#![doc(html_root_url = "https://docs.rs/tonic/0.1.0-beta.1")]
74+
#![doc(html_root_url = "https://docs.rs/tonic/0.1.0")]
7575
#![doc(issue_tracker_base_url = "https://github.com/hyperium/tonic/issues/")]
7676
#![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]
7777
#![cfg_attr(docsrs, feature(doc_cfg))]

0 commit comments

Comments
 (0)
Please sign in to comment.