# 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 = "2021" name = "dummyhttp" version = "1.1.0" authors = ["Sven-Hendrik Haase "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Super simple HTTP server that replies with a fixed body and a fixed response code" readme = "README.md" keywords = [ "dummy", "fake", "http-server", "http", "server", ] categories = [ "command-line-utilities", "command-line-interface", "network-programming", "web-programming::http-server", ] license = "MIT" repository = "https://github.com/svenstaro/dummyhttp" [profile.release] opt-level = "z" lto = true codegen-units = 1 strip = true [[bin]] name = "dummyhttp" path = "src/main.rs" [[test]] name = "basic" path = "tests/basic.rs" [[test]] name = "requests" path = "tests/requests.rs" [[test]] name = "tls" path = "tests/tls.rs" [dependencies.Inflector] version = "0.11" default-features = false [dependencies.anyhow] version = "1" [dependencies.axum] version = "0.7" features = ["http2"] [dependencies.axum-server] version = "0.7" [dependencies.chrono] version = "0.4.26" [dependencies.clap] version = "4" features = [ "derive", "cargo", "wrap_help", ] [dependencies.clap_complete] version = "4" [dependencies.clap_mangen] version = "0.2" [dependencies.colored] version = "2" [dependencies.colored_json] version = "5" [dependencies.hyper] version = "1" [dependencies.lipsum] version = "0.9" [dependencies.rustls] version = "0.23.12" features = ["ring"] default-features = false [dependencies.serde_json] version = "1.0" [dependencies.tera] version = "1" [dependencies.tokio] version = "1.28" features = ["rt-multi-thread"] [dependencies.tower] version = "0.5" features = [ "util", "filter", ] [dependencies.uuid] version = "1" features = ["v4"] [dev-dependencies.assert_cmd] version = "2.0" [dev-dependencies.port_check] version = "0.2" [dev-dependencies.predicates] version = "3" [dev-dependencies.pretty_assertions] version = "1.2" [dev-dependencies.reqwest] version = "0.12" features = [ "blocking", "rustls-tls", ] default-features = false [dev-dependencies.rstest] version = "0.22" [dev-dependencies.rstest_reuse] version = "0.7.0" [dev-dependencies.url] version = "2.5" [features] default = ["tls"] tls = ["axum-server/tls-rustls-no-provider"]