Re-enable tokio-rustls now that it has a stable release (#429)
This commit is contained in:
committed by
Lucio Franco
parent
4398e169e8
commit
e7e75bf117
6
.github/workflows/CI.yml
vendored
6
.github/workflows/CI.yml
vendored
@@ -47,9 +47,9 @@ jobs:
|
|||||||
# TODO: Change it to stable after Rust 1.38 release
|
# TODO: Change it to stable after Rust 1.38 release
|
||||||
run: ./ci/h2spec.sh
|
run: ./ci/h2spec.sh
|
||||||
if: matrix.rust == 'nightly'
|
if: matrix.rust == 'nightly'
|
||||||
#- name: Check minimal versions
|
- name: Check minimal versions
|
||||||
# run: cargo clean; cargo update -Zminimal-versions; cargo check
|
run: cargo clean; cargo update -Zminimal-versions; cargo check
|
||||||
# if: matrix.rust == 'nightly'
|
if: matrix.rust == 'nightly'
|
||||||
|
|
||||||
publish_docs:
|
publish_docs:
|
||||||
name: Publish Documentation
|
name: Publish Documentation
|
||||||
|
|||||||
10
Cargo.toml
10
Cargo.toml
@@ -65,9 +65,7 @@ serde_json = "1.0.0"
|
|||||||
# Examples
|
# Examples
|
||||||
tokio = { version = "0.2", features = ["dns", "macros", "rt-core", "tcp"] }
|
tokio = { version = "0.2", features = ["dns", "macros", "rt-core", "tcp"] }
|
||||||
env_logger = { version = "0.5.3", default-features = false }
|
env_logger = { version = "0.5.3", default-features = false }
|
||||||
# TODO: re-enable when tokio-rustls is updated
|
rustls = "0.16"
|
||||||
#rustls = "0.16"
|
tokio-rustls = "0.12.0"
|
||||||
#tokio-rustls = "0.12.0-alpha.4"
|
webpki = "0.21"
|
||||||
#webpki = "0.21"
|
webpki-roots = "0.17"
|
||||||
#webpki-roots = "0.17"
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
fn main() {}
|
|
||||||
/* TODO: re-enable when tokio-rustls is updated
|
|
||||||
use h2::client;
|
use h2::client;
|
||||||
use http::{Method, Request};
|
use http::{Method, Request};
|
||||||
use tokio::net::TcpStream;
|
use tokio::net::TcpStream;
|
||||||
@@ -75,4 +73,3 @@ pub async fn main() -> Result<(), Box<dyn Error>> {
|
|||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|||||||
Reference in New Issue
Block a user