# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "httpmock" version = "0.8.0-alpha.1" authors = ["Alexander Liesenfeld "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "HTTP mocking library for Rust" readme = "README.md" keywords = [ "http", "mock", "test", ] categories = ["development-tools::testing"] license = "MIT" repository = "https://github.com/alexliesenfeld/httpmock" [package.metadata.docs.rs] all-features = true [lib] name = "httpmock" path = "src/lib.rs" [[bin]] name = "httpmock" path = "src/main.rs" required-features = ["standalone"] [[test]] name = "lib" path = "tests/lib.rs" [dependencies.assert-json-diff] version = "2.0" [dependencies.async-object-pool] version = "0.1" [dependencies.async-std] version = "1.12" features = [ "attributes", "unstable", ] [dependencies.async-trait] version = "0.1" [dependencies.base64] version = "0.22" [dependencies.bytes] version = "1" features = ["serde"] [dependencies.clap] version = "4.5" features = [ "derive", "env", ] optional = true [dependencies.colored] version = "2.1" optional = true [dependencies.crossbeam-utils] version = "0.8" [dependencies.env_logger] version = "0.11" optional = true [dependencies.form_urlencoded] version = "1.2" [dependencies.futures-timer] version = "3" [dependencies.futures-util] version = "0.3" [dependencies.headers] version = "0.4" optional = true [dependencies.http] version = "1" [dependencies.http-body-util] version = "0.1" [dependencies.hyper] version = "1.4" features = [ "server", "http1", "client", ] [dependencies.hyper-rustls] version = "0.27" optional = true [dependencies.hyper-util] version = "0.1" features = [ "tokio", "server", "http1", "server-auto", ] [dependencies.lazy_static] version = "1.4" [dependencies.log] version = "0.4" [dependencies.path-tree] version = "0.8" [dependencies.rcgen] version = "0.12" features = [ "pem", "x509-parser", ] optional = true [dependencies.regex] version = "1.10" [dependencies.rustls] version = "0.23" features = [ "std", "tls12", ] optional = true default-features = false [dependencies.rustls-pemfile] version = "2" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.serde_regex] version = "1.1" [dependencies.serde_yaml] version = "0.9" optional = true [dependencies.similar] version = "2.6" [dependencies.stringmetrics] version = "2" [dependencies.tabwriter] version = "1.4" [dependencies.thiserror] version = "1.0" [dependencies.tls-detect] version = "0.1" optional = true [dependencies.tokio] version = "1.36" features = [ "sync", "macros", "rt-multi-thread", "signal", ] [dependencies.tokio-rustls] version = "0.26" optional = true [dependencies.url] version = "2.5" [dev-dependencies.actix-rt] version = "2.9" [dev-dependencies.colored] version = "2.1" [dev-dependencies.env_logger] version = "0.11" [dev-dependencies.quote] version = "1.0" [dev-dependencies.reqwest] version = "0.12" features = [ "blocking", "cookies", "rustls-tls", "rustls-tls-native-roots", ] [dev-dependencies.syn] version = "2.0" features = ["full"] [dev-dependencies.tokio-test] version = "0.4" [dev-dependencies.urlencoding] version = "2.1.2" [features] color = ["colored"] cookies = ["headers"] default = ["cookies"] experimental = [] http2 = [ "hyper/http2", "hyper-util/http2", ] https = [ "rustls", "rcgen", "tokio-rustls", "rustls-pemfile", "rustls/ring", "tls-detect", ] proxy = [ "remote-https", "hyper-util/client-legacy", "hyper-util/http2", "hyper-rustls", "hyper-rustls/http2", ] record = [ "proxy", "serde_yaml", ] remote = [ "hyper-util/client-legacy", "hyper-util/http2", ] remote-https = [ "remote", "rustls", "hyper-rustls", "hyper-rustls/http2", ] standalone = [ "clap", "env_logger", "record", "http2", "cookies", "remote", "remote-https", ]