Skip to content

Commit

Permalink
Merge pull request #69 from seanpianka/master
Browse files Browse the repository at this point in the history
build: add support for rustls
  • Loading branch information
alexliesenfeld authored Nov 22, 2022
2 parents 1f2e97e + cc32d45 commit 718212c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ serde_regex = "1.1"
lazy_static = "1.4"
hyper = { version = "0.14", features = ["server", "http1", "tcp"] }
tokio = { version = "1.22", features = ["sync", "macros", "rt-multi-thread", "signal"] }
isahc = "1.7"
isahc = { version = "1.7", default-features = false, features = ["json", "http2", "static-curl", "text-decoding"] }

base64 = "0.13"
regex = "1.7"
Expand All @@ -44,18 +44,23 @@ env_logger = "0.9"
tokio-test = "0.4"
async-std = { version = "1.12", features = ["attributes", "unstable"] }
isahc = { version = "1.7", features = ["json"] }

syn = { version = "1.0", features = ["full"] }
quote = "1.0"
actix-rt = "2.7"
colored = "2.0"
ureq = "2.5"

[features]
default = ["cookies"]
default = ["cookies", "native-tls"]
standalone = ["clap", "env_logger", "serde_yaml"]
color = ["colored"]
cookies = ["basic-cookies"]

native-tls = ["isahc/native-tls"]
rustls = ["isahc/rustls-tls"]
rustls-native-certs = ["isahc/rustls-tls-native-certs"]

[[bin]]
name = "httpmock"
required-features = ["standalone"]

0 comments on commit 718212c

Please sign in to comment.