Build examples as part of the crate
This commit is contained in:
parent
9c9431be30
commit
0ce49fa9cd
@ -1,6 +1,4 @@
|
||||
[workspace]
|
||||
members = [
|
||||
"tokio-rustls",
|
||||
"tokio-rustls/examples/client",
|
||||
"tokio-rustls/examples/server"
|
||||
]
|
||||
|
@ -25,6 +25,7 @@ secret_extraction = ["rustls/secret_extraction"]
|
||||
tls12 = ["rustls/tls12"]
|
||||
|
||||
[dev-dependencies]
|
||||
argh = "0.1"
|
||||
tokio = { version = "1.0", features = ["full"] }
|
||||
futures-util = "0.3.1"
|
||||
lazy_static = "1"
|
||||
|
@ -1,14 +0,0 @@
|
||||
[package]
|
||||
name = "client"
|
||||
version = "0.1.0"
|
||||
authors = ["quininer <quininer@live.com>"]
|
||||
edition = "2018"
|
||||
rust-version = "1.56"
|
||||
|
||||
[dependencies]
|
||||
tokio = { version = "1.0", features = [ "full" ] }
|
||||
argh = "0.1"
|
||||
tokio-rustls = { path = "../.." }
|
||||
webpki = { package = "rustls-webpki", version = "0.100.0", features = ["alloc", "std"] }
|
||||
webpki-roots = "0.22"
|
||||
rustls-pemfile = "1.0"
|
@ -1,12 +0,0 @@
|
||||
[package]
|
||||
name = "server"
|
||||
version = "0.1.0"
|
||||
authors = ["quininer <quininer@live.com>"]
|
||||
edition = "2018"
|
||||
rust-version = "1.56"
|
||||
|
||||
[dependencies]
|
||||
tokio = { version = "1.0", features = [ "full" ] }
|
||||
argh = "0.1"
|
||||
tokio-rustls = { path = "../.." }
|
||||
rustls-pemfile = "1.0"
|
Loading…
Reference in New Issue
Block a user