From 93aeaa35c8902b2d7b05b737ea1f97e092fc158d Mon Sep 17 00:00:00 2001 From: Mathias Koch Date: Sat, 3 Oct 2020 07:56:46 +0200 Subject: [PATCH] Remove default feature, unused tungstenite/tls feature and add cargo check to travis --- .travis.yml | 1 + Cargo.toml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fc25514..b919980 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,7 @@ script: - cargo check --features async-std-runtime,async-tls,async-native-tls - cargo check --features tokio-runtime,async-tls - cargo check --features tokio-runtime,tokio-native-tls + - cargo check --features tokio-runtime,tokio-rustls - cargo check --features tokio-runtime,tokio-openssl - cargo check --features tokio-runtime,async-tls,tokio-native-tls - cargo check --features gio-runtime diff --git a/Cargo.toml b/Cargo.toml index f78a5d7..7fd6ead 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,14 +13,14 @@ edition = "2018" readme = "README.md" [features] -default = ["tokio-rustls"] +default = [] async-std-runtime = ["async-std"] tokio-runtime = ["tokio"] gio-runtime = ["gio", "glib"] async-tls = ["real-async-tls"] async-native-tls = ["async-std-runtime", "real-async-native-tls"] tokio-native-tls = ["tokio-runtime", "real-tokio-native-tls", "real-native-tls", "tungstenite/tls"] -tokio-rustls = ["tokio-runtime", "real-tokio-rustls", "tungstenite/tls"] +tokio-rustls = ["tokio-runtime", "real-tokio-rustls"] tokio-openssl = ["tokio-runtime", "real-tokio-openssl", "openssl"] [package.metadata.docs.rs]