Skip to content

Commit 49347cd

Browse files
authored
*: bump 0.11.0 (#586)
Signed-off-by: Jay Lee <[email protected]>
1 parent dd58386 commit 49347cd

File tree

8 files changed

+15
-10
lines changed

8 files changed

+15
-10
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 0.11.0 - 2022-09-10
2+
3+
- Update prost to 0.10 (#582)
4+
15
# 0.10.3 - 2022-06-27
26

37
- Add support for GRPC_ARG_ENABLE_HTTP_PROXY parameter (#575)

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "grpcio"
3-
version = "0.10.3"
3+
version = "0.11.0"
44
edition = "2018"
55
authors = ["The TiKV Project Developers"]
66
license = "Apache-2.0"
@@ -55,4 +55,4 @@ no-omit-frame-pointer = ["grpcio-sys/no-omit-frame-pointer"]
5555
travis-ci = { repository = "tikv/grpc-rs" }
5656

5757
[patch.crates-io]
58-
grpcio-compiler = { path = "compiler", version = "0.10.0", default-features = false }
58+
grpcio-compiler = { path = "compiler", version = "0.11.0", default-features = false }

compiler/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "grpcio-compiler"
3-
version = "0.10.0"
3+
version = "0.11.0"
44
edition = "2018"
55
authors = ["The TiKV Project Developers"]
66
license = "Apache-2.0"

health/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "grpcio-health"
3-
version = "0.10.0"
3+
version = "0.11.0"
44
edition = "2018"
55
authors = ["The TiKV Project Developers"]
66
license = "Apache-2.0"
@@ -20,7 +20,7 @@ prost-codec = ["grpcio/prost-codec", "prost"]
2020
[dependencies]
2121
futures-executor = "0.3"
2222
futures-util = { version = "0.3", default-features = false, features = ["std"] }
23-
grpcio = { path = "..", version = "0.10.0", default-features = false }
23+
grpcio = { path = "..", version = "0.11.0", default-features = false }
2424
prost = { version = "0.10", optional = true }
2525
protobuf = { version = "2", optional = true }
2626
log = "0.4"

proto/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "grpcio-proto"
3-
version = "0.10.0"
3+
version = "0.11.0"
44
edition = "2018"
55
authors = ["The TiKV Project Developers"]
66
license = "Apache-2.0"
@@ -18,7 +18,7 @@ protobuf-codec = ["grpcio/protobuf-codec", "protobuf-build/grpcio-protobuf-codec
1818
prost-codec = ["prost-derive", "prost-types", "bytes", "lazy_static", "grpcio/prost-codec", "prost", "protobuf-build/grpcio-prost-codec"]
1919

2020
[dependencies]
21-
grpcio = { path = "..", features = ["boringssl"], version = "0.10.0", default-features = false }
21+
grpcio = { path = "..", features = ["boringssl"], version = "0.11.0", default-features = false }
2222
bytes = { version = "1.0", optional = true }
2323
prost = { version = "0.10", optional = true }
2424
prost-derive = { version = "0.10", optional = true }

src/call/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ where
344344
let code = f(batch_ptr, tag_ptr);
345345
if code != grpc_call_error::GRPC_CALL_OK {
346346
unsafe {
347-
Box::from_raw(tag_ptr);
347+
drop(Box::from_raw(tag_ptr));
348348
}
349349
panic!("create call fail: {:?}", code);
350350
}
@@ -509,7 +509,7 @@ impl Call {
509509
};
510510
if code != grpc_call_error::GRPC_CALL_OK {
511511
unsafe {
512-
Box::from_raw(tag_ptr);
512+
drop(Box::from_raw(tag_ptr));
513513
}
514514
panic!("create call fail: {:?}", code);
515515
}

src/call/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ impl RequestContext {
125125
let call = grpc_sys::grpcwrap_request_call_context_get_call(request_ctx);
126126
let code = grpc_sys::grpcwrap_call_recv_message(call, batch_ctx, tag_ptr as _);
127127
if code != grpc_call_error::GRPC_CALL_OK {
128-
Box::from_raw(tag_ptr);
128+
drop(Box::from_raw(tag_ptr));
129129
// it should not failed.
130130
panic!("try to receive message fail: {:?}", code);
131131
}

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ framework that puts mobile and HTTP/2 first. grpcio is built on [gRPC Core] and
2323
#![allow(clippy::new_without_default)]
2424
#![allow(clippy::cast_lossless)]
2525
#![allow(clippy::option_map_unit_fn)]
26+
#![allow(clippy::derive_partial_eq_without_eq)]
2627

2728
use grpcio_sys as grpc_sys;
2829
#[macro_use]

0 commit comments

Comments
 (0)