Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

Commit 13e30fe

Browse files
str4dstepancheg
authored andcommitted
tls-api 0.6
1 parent 31af4b8 commit 13e30fe

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

grpc-examples/greeter/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ path = "../../grpc-protobuf"
1717
[dependencies]
1818
protobuf = "2.23"
1919
futures = "0.3.*"
20-
tls-api = "0.5.0"
21-
tls-api-stub = "0.5.0"
22-
tls-api-native-tls = "0.5.0"
20+
tls-api = "0.6.0"
21+
tls-api-stub = "0.6.0"
22+
tls-api-native-tls = "0.6.0"
2323
#httpbis = "~0.9"
24-
httpbis = { git = "https://github.com/stepancheg/rust-http2", rev = "87019df1f7cb264524be81bb5164d155d7196c31" }
24+
httpbis = { git = "https://github.com/stepancheg/rust-http2", rev = "04410b1a07f937d94e075c813d05a68022f0c7c8" }
2525
#httpbis = { path = "../../../rust-http2/httpbis" }
2626
env_logger = "~0.9"
2727

grpc-examples/route_guide/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ path = "../../grpc-protobuf"
1717
[dependencies]
1818
protobuf = "2.23"
1919
futures = "0.3.*"
20-
tls-api = "0.5.0"
21-
tls-api-stub = "0.5.0"
20+
tls-api = "0.6.0"
21+
tls-api-stub = "0.6.0"
2222
env_logger = "0.9"
2323
rand = "0.8"
2424
json = "0.12"

grpc/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ log-ndc = "0.3"
1616
futures = "0.3.1"
1717
tokio = { version = "1.2.0", features = ["io-util", "net", "time", "rt"] }
1818
#httpbis = "~0.9"
19-
httpbis = { git = "https://github.com/stepancheg/rust-http2", rev = "87019df1f7cb264524be81bb5164d155d7196c31" }
19+
httpbis = { git = "https://github.com/stepancheg/rust-http2", rev = "04410b1a07f937d94e075c813d05a68022f0c7c8" }
2020
#httpbis = { path = "../../rust-http2/httpbis" }
21-
tls-api = "0.5.0"
22-
tls-api-stub = "0.5.0"
21+
tls-api = "0.6.0"
22+
tls-api-stub = "0.6.0"
2323
bytes = "1.0.1"
2424
base64 = "0.13"
2525

grpc/src/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,6 @@ impl From<metadata::MetadataDecodeError> for Error {
8787

8888
impl From<Error> for httpbis::Error {
8989
fn from(err: Error) -> httpbis::Error {
90-
httpbis::Error::StdError(Box::new(err))
90+
httpbis::Error::User(format!("gRPC error: {}", err))
9191
}
9292
}

interop/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ log = "0.4.*"
1818
env_logger = "~0.9"
1919
protobuf = "2.23"
2020
futures = "0.3.*"
21-
tls-api = "0.5.0"
21+
tls-api = "0.6.0"
2222
chrono = "0.4"
2323
clap = "2.20.0"
2424

long-tests/with-rust/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ path = "../../grpc-protobuf"
1818
log = "0.4.*"
1919
env_logger = "~0.9"
2020
protobuf = "2.23"
21-
tls-api = "0.5.0"
21+
tls-api = "0.6.0"
2222
futures = "0.3.*"
2323

2424
[build-dependencies]

0 commit comments

Comments
 (0)