-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4213c14
commit 2a3180b
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "httpmock" | ||
version = "0.8.0-alpha.1" | ||
version = "0.8.0-beta.1" | ||
authors = ["Alexander Liesenfeld <[email protected]>"] | ||
edition = "2018" | ||
description = "HTTP mocking library for Rust" | ||
|
@@ -40,16 +40,16 @@ colored = { version = "2.1", optional = true } | |
clap = { version = "4.5", features = ["derive", "env"], optional = true } | ||
env_logger = { version = "0.11", optional = true } | ||
serde_yaml = { version = "0.9", optional = true } | ||
async-std = { version = "1.13", features = ["attributes", "unstable"] } | ||
async-std = { version = "1.12", features = ["attributes", "unstable"] } | ||
headers = { version = "0.4", optional = true } | ||
|
||
### TLS / HTTPS / PROXY | ||
rustls = { version = "0.23", default-features = false, features = ["std", "tls12"], optional = true } | ||
rcgen = { version = "0.12", features = ["pem", "x509-parser"], optional = true } | ||
tokio-rustls = { version = "0.26", optional = true } | ||
tokio-rustls = { version = "0.26", default-features = false, features = ["logging", "tls12"], optional = true } | ||
rustls-pemfile = { version = "2", optional = true } | ||
tls-detect = { version = "0.1", optional = true } | ||
hyper-rustls = { version = "0.27", optional = true } | ||
hyper-rustls = { version = "0.27", default-features = false, features = ["http1", "logging", "tls12", "native-tokio"], optional = true } | ||
futures-timer = "3" | ||
|
||
[dev-dependencies] | ||
|
@@ -68,16 +68,16 @@ standalone = ["clap", "env_logger", "record", "http2", "cookies", "remote", "re | |
color = ["colored"] # enables colorful output in standalone mode | ||
cookies = ["headers"] # enables support for matching cookies | ||
remote = ["hyper-util/client-legacy", "hyper-util/http2"] # allows to connect to remote mock servers | ||
remote-https = ["remote", "rustls", "hyper-rustls", "hyper-rustls/http2"] # allows to connect to remote mock servers via HTTPS | ||
remote-https = ["remote", "rustls", "rustls/ring", "hyper-rustls", "hyper-rustls/ring", "hyper-rustls/http2"] # allows to connect to remote mock servers via HTTPS | ||
proxy = ["remote-https", "hyper-util/client-legacy", "hyper-util/http2", "hyper-rustls", "hyper-rustls/http2"] # enables proxy functionality | ||
https = ["rustls", "rcgen", "tokio-rustls", "rustls-pemfile", "rustls/ring", "tls-detect"] # enables httpmock server support for TLS/HTTPS | ||
http2 = ["hyper/http2", "hyper-util/http2"] # enables httpmocks server support for HTTP2 | ||
record = ["proxy", "serde_yaml"] | ||
experimental = [] # marker for experimental features | ||
experimental = [] # marker feature for experimental features | ||
|
||
[[bin]] | ||
name = "httpmock" | ||
required-features = ["standalone"] | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
all-features = true |