Skip to content

Commit

Permalink
Add feature default-tls.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjoy committed Aug 11, 2022
1 parent a02f8f3 commit ddcdece
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "apollo-client"
version = "0.7.2"
version = "0.7.3"
authors = ["jmjoy <[email protected]>"]
edition = "2021"
rust-version = "1.56"
description = "Rust🦀 client for Ctrip Apollo."
description = "Ctrip Apollo client for Rust🦀."
repository = "https://github.com/jmjoy/apollo-client"
documentation = "https://docs.rs/apollo-client"
license = "Unlicense"
Expand All @@ -19,7 +19,8 @@ exclude = [
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
default = ["conf"]
default = ["conf", "default-tls"]
default-tls = ["reqwest/default-tls"]
conf = ["async-stream", "rust-ini", "host"]
host = ["host-ip", "host-name"]
host-ip = ["systemstat", "cidr-utils"]
Expand All @@ -41,7 +42,7 @@ hostname = { version = "0.3.1", optional = true }
http = "0.2.4"
log = "0.4.14"
once_cell = "1.8.0"
reqwest = { version = "0.11.4", features = ["cookies", "json"] }
reqwest = { version = "0.11.4", features = ["cookies", "json"], default-features = false }
rust-ini = { version = "0.17.0", optional = true }
serde = "1.0.126"
serde_json = { version = "1.0.64", features = ["preserve_order"] }
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Lines](https://img.shields.io/tokei/lines/github/jmjoy/apollo-client)](https://github.com/jmjoy/apollo-client)
[![License](https://img.shields.io/crates/l/apollo-client)](https://github.com/jmjoy/apollo-client/blob/master/LICENSE)

Rust🦀 client for [Ctrip Apollo](https://github.com/ctripcorp/apollo).
[Ctrip Apollo](https://github.com/ctripcorp/apollo) client for Rust🦀.

Power by Rust `async/await`.

Expand Down

0 comments on commit ddcdece

Please sign in to comment.