client: Rename tls feature to tls-native
This commit is contained in:
parent
325b3eea34
commit
1129520290
@ -37,6 +37,6 @@ ruma = { version = "0.0.1", path = "../ruma", features = ["client-api"] }
|
||||
tokio = { version = "0.2.22", features = ["macros"] }
|
||||
|
||||
[features]
|
||||
default = ["tls"]
|
||||
tls = ["hyper-tls"]
|
||||
default = ["tls-native"]
|
||||
tls-native = ["hyper-tls"]
|
||||
unstable-synapse-quirks = ["ruma-events/unstable-synapse-quirks"]
|
||||
|
@ -127,10 +127,10 @@ pub use self::{
|
||||
session::{Identification, Session},
|
||||
};
|
||||
|
||||
#[cfg(not(feature = "tls"))]
|
||||
#[cfg(not(feature = "tls-native"))]
|
||||
type Connector = HttpConnector;
|
||||
|
||||
#[cfg(feature = "tls")]
|
||||
#[cfg(feature = "tls-native")]
|
||||
type Connector = hyper_tls::HttpsConnector<HttpConnector>;
|
||||
|
||||
/// A client for the Matrix client-server API.
|
||||
|
Loading…
x
Reference in New Issue
Block a user