Rename example mbedtls-req -> mbedtls
This commit is contained in:
10
Cargo.toml
10
Cargo.toml
@@ -45,21 +45,13 @@ rustls-native-certs = { version = "0.6", optional = true }
|
|||||||
native-tls = { version = "0.2", optional = true }
|
native-tls = { version = "0.2", optional = true }
|
||||||
flate2 = { version = "1.0.22", optional = true }
|
flate2 = { version = "1.0.22", optional = true }
|
||||||
brotli-decompressor = { version = "2.3.2", optional = true }
|
brotli-decompressor = { version = "2.3.2", optional = true }
|
||||||
mbedtls = { version = "0.8.1", optional = true }
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
env_logger = "0.9"
|
env_logger = "0.9"
|
||||||
rustls = { version = "0.20", features = ["dangerous_configuration"] }
|
rustls = { version = "0.20", features = ["dangerous_configuration"] }
|
||||||
rustls-pemfile = { version = "0.2" }
|
rustls-pemfile = { version = "0.2" }
|
||||||
|
mbedtls = { version = "0.8.1" }
|
||||||
[[example]]
|
|
||||||
name = "smoke-test"
|
|
||||||
|
|
||||||
[[example]]
|
|
||||||
name = "mbedtls-req"
|
|
||||||
required-features = ["mbedtls"]
|
|
||||||
|
|
||||||
|
|
||||||
[[example]]
|
[[example]]
|
||||||
name = "cureq"
|
name = "cureq"
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ fn main() -> Result<()> {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Local Variables:
|
* Local Variables:
|
||||||
* compile-command: "cargo build --example mbedtls-req --features=\"mbedtls\""
|
* compile-command: "cargo build --example mbedtls-req"
|
||||||
* mode: rust
|
* mode: rust
|
||||||
* End:
|
* End:
|
||||||
*/
|
*/
|
||||||
@@ -107,7 +107,7 @@ impl io::Write for MbedTlsStream {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Local Variables:
|
* Local Variables:
|
||||||
* compile-command: "cd ../.. && cargo build --example mbedtls-req --features=\"mbedtls\""
|
* compile-command: "cd ../.. && cargo build --example mbedtls-req"
|
||||||
* mode: rust
|
* mode: rust
|
||||||
* End:
|
* End:
|
||||||
*/
|
*/
|
||||||
Reference in New Issue
Block a user