-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathCargo.toml
55 lines (51 loc) · 1.73 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[package]
name = "dummyhttp"
version = "1.1.0"
description = "Super simple HTTP server that replies with a fixed body and a fixed response code"
authors = ["Sven-Hendrik Haase <[email protected]>"]
repository = "https://github.com/svenstaro/dummyhttp"
license = "MIT"
readme = "README.md"
keywords = ["dummy", "fake", "http-server", "http", "server"]
categories = ["command-line-utilities", "command-line-interface", "network-programming", "web-programming::http-server"]
edition = "2021"
[profile.release]
lto = true
opt-level = 'z'
codegen-units = 1
strip = true
[dependencies]
Inflector = { version = "0.11", default-features = false }
anyhow = "1"
axum = { version = "0.8", features = ["http2"] }
axum-server = "0.7"
chrono = "0.4.39"
clap = { version = "4", features = ["derive", "cargo", "wrap_help"] }
clap_complete = "4"
clap_mangen = "0.2"
colored = "2"
colored_json = "5"
hyper = { version = "1" }
lipsum = "0.9"
rustls = { version = "0.23.14", default-features = false, features = ["ring"] }
serde_json = "1.0"
tera = "1"
tokio = { version = "1.42", features = ["rt-multi-thread"] }
tower = { version = "0.5", features = ["util", "filter"] }
uuid = { version = "1", features = ["v4"] }
[features]
default = ["tls"]
# This feature allows us to use rustls only on architectures supported by ring.
# See also https://github.com/briansmith/ring/issues/1182
# and https://github.com/briansmith/ring/issues/562
# and https://github.com/briansmith/ring/issues/1367
tls = ["axum-server/tls-rustls-no-provider"]
[dev-dependencies]
assert_cmd = "2.0"
port_check = "0.2"
predicates = "3"
pretty_assertions = "1.2"
reqwest = { version = "0.12", features = ["blocking", "rustls-tls"], default-features = false }
rstest = "0.24"
rstest_reuse = "0.7.0"
url = "2.5"