diff --git a/Cargo.toml b/Cargo.toml index 7e7344c..661eb66 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,4 @@ [workspace] members = [ "tokio-rustls", - "tokio-rustls/examples/client", - "tokio-rustls/examples/server" ] diff --git a/tokio-rustls/Cargo.toml b/tokio-rustls/Cargo.toml index 2f9dd18..d116d22 100644 --- a/tokio-rustls/Cargo.toml +++ b/tokio-rustls/Cargo.toml @@ -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" diff --git a/tokio-rustls/examples/client/src/main.rs b/tokio-rustls/examples/client.rs similarity index 100% rename from tokio-rustls/examples/client/src/main.rs rename to tokio-rustls/examples/client.rs diff --git a/tokio-rustls/examples/client/Cargo.toml b/tokio-rustls/examples/client/Cargo.toml deleted file mode 100644 index cb31ee5..0000000 --- a/tokio-rustls/examples/client/Cargo.toml +++ /dev/null @@ -1,14 +0,0 @@ -[package] -name = "client" -version = "0.1.0" -authors = ["quininer "] -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" diff --git a/tokio-rustls/examples/server/src/main.rs b/tokio-rustls/examples/server.rs similarity index 100% rename from tokio-rustls/examples/server/src/main.rs rename to tokio-rustls/examples/server.rs diff --git a/tokio-rustls/examples/server/Cargo.toml b/tokio-rustls/examples/server/Cargo.toml deleted file mode 100644 index 6a5aec2..0000000 --- a/tokio-rustls/examples/server/Cargo.toml +++ /dev/null @@ -1,12 +0,0 @@ -[package] -name = "server" -version = "0.1.0" -authors = ["quininer "] -edition = "2018" -rust-version = "1.56" - -[dependencies] -tokio = { version = "1.0", features = [ "full" ] } -argh = "0.1" -tokio-rustls = { path = "../.." } -rustls-pemfile = "1.0"