diff --git a/Cargo.toml b/Cargo.toml index 6eb2f9a..3bd6506 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "httpmock" -version = "0.8.0-alpha.1" +version = "0.8.0-beta.1" authors = ["Alexander Liesenfeld "] 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 \ No newline at end of file