Remove default feature, unused tungstenite/tls feature and add cargo check to travis

pull/54/head
Mathias Koch 4 years ago committed by Sebastian Dröge
parent 286dd662b6
commit 93aeaa35c8
  1. 1
      .travis.yml
  2. 4
      Cargo.toml

@ -20,6 +20,7 @@ script:
- cargo check --features async-std-runtime,async-tls,async-native-tls - cargo check --features async-std-runtime,async-tls,async-native-tls
- cargo check --features tokio-runtime,async-tls - cargo check --features tokio-runtime,async-tls
- cargo check --features tokio-runtime,tokio-native-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,tokio-openssl
- cargo check --features tokio-runtime,async-tls,tokio-native-tls - cargo check --features tokio-runtime,async-tls,tokio-native-tls
- cargo check --features gio-runtime - cargo check --features gio-runtime

@ -13,14 +13,14 @@ edition = "2018"
readme = "README.md" readme = "README.md"
[features] [features]
default = ["tokio-rustls"] default = []
async-std-runtime = ["async-std"] async-std-runtime = ["async-std"]
tokio-runtime = ["tokio"] tokio-runtime = ["tokio"]
gio-runtime = ["gio", "glib"] gio-runtime = ["gio", "glib"]
async-tls = ["real-async-tls"] async-tls = ["real-async-tls"]
async-native-tls = ["async-std-runtime", "real-async-native-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-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"] tokio-openssl = ["tokio-runtime", "real-tokio-openssl", "openssl"]
[package.metadata.docs.rs] [package.metadata.docs.rs]

Loading…
Cancel
Save