diff --git a/Cargo.toml b/Cargo.toml index cdccff7..6ce08cb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -51,8 +51,8 @@ watch = ["dep:sha-1", "dep:serde_json", "serde/derive"] uuid = ["dep:uuid"] time = ["dep:time"] lz4 = ["dep:lz4", "dep:clickhouse-rs-cityhash-sys"] -tls = ["dep:hyper-tls"] -rustls = ["dep:hyper-rustls"] +native-tls = ["dep:hyper-tls"] +rustls-tls = ["dep:hyper-rustls"] [dependencies] clickhouse-derive = { version = "0.1.1", path = "derive" } diff --git a/README.md b/README.md index 238436c..66a76c0 100644 --- a/README.md +++ b/README.md @@ -217,8 +217,8 @@ See [examples](https://github.com/loyd/clickhouse.rs/tree/master/examples). ## Feature Flags * `lz4` (enabled by default) — enables `Compression::Lz4` and `Compression::Lz4Hc(_)` variants. If enabled, `Compression::Lz4` is used by default for all queries except for `WATCH`. -* `tls` — supports urls with the `HTTPS` schema via `hyper-tls`, which links against OpenSSL. -* `rustls` — supports urls with the `HTTPS` schema via `hyper-rustls`, which does not link against OpenSSL. +* `native-tls` — supports urls with the `HTTPS` schema via `hyper-tls`, which links against OpenSSL. +* `rustls-tls` — supports urls with the `HTTPS` schema via `hyper-rustls`, which does not link against OpenSSL. * `inserter` — enables `client.inserter()`. * `test-util` — adds mocks. See [the example](https://github.com/loyd/clickhouse.rs/tree/master/examples/mock.rs). Use it only in `dev-dependencies`. * `watch` — enables `client.watch` functionality. See the corresponding section for details.