Skip to content

Commit

Permalink
Add feature to switch tls library [native-tls,rustls]
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeStrashko authored and gklijs committed Jul 10, 2021
1 parent 5b93b80 commit e3ec5ef
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,16 @@ license = "MIT/Apache-2.0"
edition = "2018"

[features]
native_tls = ["reqwest/native-tls"]
rustls_tls = ["reqwest/rustls-tls"]

avro = ["avro-rs"]
blocking = ["reqwest/blocking"]
json = ["url", "valico"]
proto_decoder = ["bytes", "integer-encoding", "logos", "protofish"]
proto_raw = ["integer-encoding", "logos"]
kafka_test = []
default = ["futures"]
default = ["futures","native_tls"]

[dependencies.byteorder]
version = "^1.4"
Expand All @@ -29,6 +32,7 @@ version = "^0.1"

[dependencies.reqwest]
version = "^0.11"
default-features = false
features = ["json"]

[dependencies.serde]
Expand Down

0 comments on commit e3ec5ef

Please sign in to comment.