chore: Remove required bytes dep and clean up deny (#227)

* chore: Remove required bytes dep and clean up deny

* Fix interop test cli args
This commit is contained in:
Lucio Franco
2020-01-11 12:48:24 -08:00
committed by GitHub
parent 18e944bd28
commit 6673f91f1f
11 changed files with 11 additions and 20 deletions
+3 -6
View File
@@ -14,12 +14,9 @@ deny = [
# term is not fully maintained, and termcolor is replacing it
{ name = "term" },
]
skip = [
{ name = "bytes", version = "=0.4.12" },
]
skip-tree = [
{ name = "rand", version = "=0.6.5" },
{ name = "syn", version = "=0.15.44" },
skip-tree = [
{ name = "winapi", version = "<= 0.3" },
{ name = "autocfg", version = "<= 1" },
]
[licenses]
+1 -2
View File
@@ -88,7 +88,6 @@ path = "src/uds/server.rs"
[dependencies]
tonic = { path = "../tonic", features = ["tls"] }
bytes = "0.5"
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
tokio = { version = "0.2", features = ["rt-threaded", "time", "stream", "fs", "macros", "uds"] }
@@ -100,7 +99,7 @@ tower = "0.3"
# Required for routeguide
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
rand = "0.6"
rand = "0.7"
# Tracing
tracing = "0.1"
-1
View File
@@ -114,7 +114,6 @@ path = "src/client.rs"
[dependencies]
tonic = "0.1.0-beta.1"
bytes = "0.5"
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
tokio = { version = "0.2", features = ["macros"] }
-1
View File
@@ -181,7 +181,6 @@ Edit `Cargo.toml` and add all the dependencies we'll need for this example:
```toml
[dependencies]
tonic = "0.1.0-beta.1"
bytes = "0.5"
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
futures-core = "0.3"
futures-util = "0.3"
+1 -1
View File
@@ -28,7 +28,7 @@ tower = "0.3"
http-body = "0.3"
console = "0.9"
structopt = "0.2"
structopt = "0.3"
tracing = "0.1"
tracing-subscriber = "0.2.0-alpha"
+4 -4
View File
@@ -6,16 +6,16 @@ use tonic_interop::client;
#[derive(StructOpt)]
struct Opts {
#[structopt(name = "use_tls", long)]
use_tls: bool,
#[structopt(
long = "test_case",
use_delimiter = true,
min_values = 1,
raw(possible_values = r#"&Testcase::variants()"#)
possible_values = &Testcase::variants()
)]
test_case: Vec<Testcase>,
#[structopt(long)]
use_tls: bool,
}
#[tokio::main]
+1 -1
View File
@@ -8,7 +8,7 @@ use tonic_interop::{server, MergeTrailers};
#[derive(StructOpt)]
struct Opts {
#[structopt(long)]
#[structopt(name = "use_tls", long)]
use_tls: bool,
}
-1
View File
@@ -10,7 +10,6 @@ license = "MIT"
[dependencies]
tonic = { path = "../../tonic" }
bytes = "0.5"
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
[build-dependencies]
-1
View File
@@ -10,7 +10,6 @@ license = "MIT"
[dependencies]
tonic = { path = "../../tonic" }
bytes = "0.5"
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
[build-dependencies]
-1
View File
@@ -10,7 +10,6 @@ license = "MIT"
[dependencies]
tonic = { path = "../../tonic" }
bytes = "0.5"
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
prost-types = { git = "https://github.com/danburkert/prost", branch = "master" }
+1 -1
View File
@@ -78,7 +78,7 @@ rustls-native-certs = { version = "0.1", optional = true }
[dev-dependencies]
tokio = { version = "0.2", features = ["rt-core", "macros"] }
static_assertions = "1.0"
rand = "0.6"
rand = "0.7"
bencher = "0.1.5"
[package.metadata.docs.rs]