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:
@@ -14,12 +14,9 @@ deny = [
|
|||||||
# term is not fully maintained, and termcolor is replacing it
|
# term is not fully maintained, and termcolor is replacing it
|
||||||
{ name = "term" },
|
{ name = "term" },
|
||||||
]
|
]
|
||||||
skip = [
|
|
||||||
{ name = "bytes", version = "=0.4.12" },
|
|
||||||
]
|
|
||||||
skip-tree = [
|
skip-tree = [
|
||||||
{ name = "rand", version = "=0.6.5" },
|
{ name = "winapi", version = "<= 0.3" },
|
||||||
{ name = "syn", version = "=0.15.44" },
|
{ name = "autocfg", version = "<= 1" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[licenses]
|
[licenses]
|
||||||
|
|||||||
+1
-2
@@ -88,7 +88,6 @@ path = "src/uds/server.rs"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../tonic", features = ["tls"] }
|
tonic = { path = "../tonic", features = ["tls"] }
|
||||||
bytes = "0.5"
|
|
||||||
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
|
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
|
||||||
|
|
||||||
tokio = { version = "0.2", features = ["rt-threaded", "time", "stream", "fs", "macros", "uds"] }
|
tokio = { version = "0.2", features = ["rt-threaded", "time", "stream", "fs", "macros", "uds"] }
|
||||||
@@ -100,7 +99,7 @@ tower = "0.3"
|
|||||||
# Required for routeguide
|
# Required for routeguide
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
rand = "0.6"
|
rand = "0.7"
|
||||||
|
|
||||||
# Tracing
|
# Tracing
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
|
|||||||
@@ -114,7 +114,6 @@ path = "src/client.rs"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = "0.1.0-beta.1"
|
tonic = "0.1.0-beta.1"
|
||||||
bytes = "0.5"
|
|
||||||
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
|
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
|
||||||
tokio = { version = "0.2", features = ["macros"] }
|
tokio = { version = "0.2", features = ["macros"] }
|
||||||
|
|
||||||
|
|||||||
@@ -181,7 +181,6 @@ Edit `Cargo.toml` and add all the dependencies we'll need for this example:
|
|||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = "0.1.0-beta.1"
|
tonic = "0.1.0-beta.1"
|
||||||
bytes = "0.5"
|
|
||||||
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
|
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
|
||||||
futures-core = "0.3"
|
futures-core = "0.3"
|
||||||
futures-util = "0.3"
|
futures-util = "0.3"
|
||||||
|
|||||||
+1
-1
@@ -28,7 +28,7 @@ tower = "0.3"
|
|||||||
http-body = "0.3"
|
http-body = "0.3"
|
||||||
|
|
||||||
console = "0.9"
|
console = "0.9"
|
||||||
structopt = "0.2"
|
structopt = "0.3"
|
||||||
|
|
||||||
tracing = "0.1"
|
tracing = "0.1"
|
||||||
tracing-subscriber = "0.2.0-alpha"
|
tracing-subscriber = "0.2.0-alpha"
|
||||||
|
|||||||
@@ -6,16 +6,16 @@ use tonic_interop::client;
|
|||||||
|
|
||||||
#[derive(StructOpt)]
|
#[derive(StructOpt)]
|
||||||
struct Opts {
|
struct Opts {
|
||||||
|
#[structopt(name = "use_tls", long)]
|
||||||
|
use_tls: bool,
|
||||||
|
|
||||||
#[structopt(
|
#[structopt(
|
||||||
long = "test_case",
|
long = "test_case",
|
||||||
use_delimiter = true,
|
use_delimiter = true,
|
||||||
min_values = 1,
|
min_values = 1,
|
||||||
raw(possible_values = r#"&Testcase::variants()"#)
|
possible_values = &Testcase::variants()
|
||||||
)]
|
)]
|
||||||
test_case: Vec<Testcase>,
|
test_case: Vec<Testcase>,
|
||||||
|
|
||||||
#[structopt(long)]
|
|
||||||
use_tls: bool,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ use tonic_interop::{server, MergeTrailers};
|
|||||||
|
|
||||||
#[derive(StructOpt)]
|
#[derive(StructOpt)]
|
||||||
struct Opts {
|
struct Opts {
|
||||||
#[structopt(long)]
|
#[structopt(name = "use_tls", long)]
|
||||||
use_tls: bool,
|
use_tls: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ license = "MIT"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../tonic" }
|
tonic = { path = "../../tonic" }
|
||||||
bytes = "0.5"
|
|
||||||
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
|
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ license = "MIT"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../tonic" }
|
tonic = { path = "../../tonic" }
|
||||||
bytes = "0.5"
|
|
||||||
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
|
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ license = "MIT"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tonic = { path = "../../tonic" }
|
tonic = { path = "../../tonic" }
|
||||||
bytes = "0.5"
|
|
||||||
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
|
prost = { git = "https://github.com/danburkert/prost", branch = "master" }
|
||||||
prost-types = { git = "https://github.com/danburkert/prost", branch = "master" }
|
prost-types = { git = "https://github.com/danburkert/prost", branch = "master" }
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -78,7 +78,7 @@ rustls-native-certs = { version = "0.1", optional = true }
|
|||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tokio = { version = "0.2", features = ["rt-core", "macros"] }
|
tokio = { version = "0.2", features = ["rt-core", "macros"] }
|
||||||
static_assertions = "1.0"
|
static_assertions = "1.0"
|
||||||
rand = "0.6"
|
rand = "0.7"
|
||||||
bencher = "0.1.5"
|
bencher = "0.1.5"
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
|
|||||||
Reference in New Issue
Block a user