-
-
Notifications
You must be signed in to change notification settings - Fork 191
/
Cargo.toml
109 lines (96 loc) · 2.88 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
[package]
authors = ["hatoo <[email protected]>"]
categories = [
"command-line-utilities",
"network-programming",
"web-programming::http-client",
"development-tools::profiling",
]
description = "Ohayou(おはよう), HTTP load generator, inspired by rakyll/hey with tui animation."
edition = "2021"
keywords = ["cli", "load-testing", "performance", "http"]
license = "MIT"
name = "oha"
readme = "README.md"
repository = "https://github.com/hatoo/oha"
version = "1.5.0"
rust-version = "1.77"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["rustls"]
native-tls = ["dep:native-tls", "dep:tokio-native-tls"]
rustls = [
"dep:rustls",
"dep:tokio-rustls",
"dep:rustls-native-certs",
"dep:rustls-pki-types",
]
vsock = ["dep:tokio-vsock"]
[dependencies]
anyhow = "1.0.86"
average = "0.15.1"
byte-unit = "5.1.4"
clap = { version = "4.5.9", features = ["derive"] }
float-ord = "0.3.2"
flume = "0.11"
humantime = "2.1.0"
libc = "0.2.155"
serde = { version = "1.0.204", features = ["derive"] }
serde_json = "1.0"
thiserror = "2.0.9"
tokio = { version = "1.38.1", features = ["full"] }
ratatui = { version = "0.29.0", default-features = false, features = [
"crossterm",
] }
hyper = { version = "1.4", features = ["client", "http1", "http2"] }
# native-tls
native-tls = { version = "0.2.12", features = ["alpn"], optional = true }
tokio-native-tls = { version = "0.3.1", optional = true }
rustls = { version = "0.23.18", optional = true }
rustls-native-certs = { version = "0.8.0", optional = true }
tokio-rustls = { version = "0.26.0", optional = true }
rustls-pki-types = { version = "1.7.0", optional = true }
base64 = "0.22.1"
rand = "0.8"
rand_core = "0.6.4"
hickory-resolver = "0.24.1"
rand_regex = "0.17.0"
regex-syntax = "0.8.5"
url = "2.5.2"
pin-project-lite = "0.2.14"
http-body-util = "0.1.2"
hyper-util = { version = "0.1.6", features = ["tokio"] }
tokio-vsock = { version = "0.5.0", optional = true }
rusqlite = { version = "0.32.0", features = ["bundled"] }
num_cpus = "1.16.0"
[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = "0.6"
[target.'cfg(unix)'.dependencies]
rlimit = "0.10.1"
[target.x86_64-unknown-linux-musl.dependencies]
# Workaround for release CI
aws-lc-rs = { version = "1.8.1", features = ["bindgen"] }
[dev-dependencies]
assert_cmd = "2.0.14"
axum = { version = "0.8.1", features = ["http2"] }
bytes = "1.6"
float-cmp = "0.10.0"
http-mitm-proxy = "0.12.0"
jsonschema = "0.28.1"
lazy_static = "1.5.0"
predicates = "3.1.0"
rcgen = "0.13.1"
regex = "1.10.5"
[target.'cfg(unix)'.dev-dependencies]
tempfile = "3.10.1"
actix-web = "4"
[profile.pgo]
inherits = "release"
# https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/frameworks/Rust/faf/Cargo.toml + lto=true
opt-level = 3
panic = 'abort'
codegen-units = 1
lto = true
debug = false
incremental = false
overflow-checks = false