forked from hatoo/oha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
67 lines (58 loc) · 1.89 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
[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 = "0.6.1"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["native-tls"]
native-tls = ["dep:native-tls", "dep:tokio-native-tls"]
rustls = ["dep:rustls", "dep:tokio-rustls", "dep:rustls-native-certs"]
[dependencies]
anyhow = "1.0.38"
average = "0.14.1"
byte-unit = "4.0.8"
clap = {version = "4.1.4", features = ["derive"]}
crossterm = "0.26"
float-ord = "0.3.1"
flume = "0.10"
futures = "0.3.12"
humantime = "2.0.0"
libc = "0.2.147"
serde = {version = "1.0.142", features = ["derive"]}
serde_json = "1.0"
thiserror = "1.0.16"
tokio = {version = "1.14.0", features = ["full"]}
tui = {package = "ratatui", version = "0.21", default-features = false, features = ["crossterm"]}
http = "0.2"
hyper = {version = "0.14.27", features = ["full"]}
# native-tls
native-tls = {version = "0.2.11", optional = true}
tokio-native-tls = {version = "0.3.0", optional = true}
# rustls
rustls = {version = "0.21.0", features = ["dangerous_configuration"], optional = true}
rustls-native-certs = {version = "0.6.2", optional = true}
tokio-rustls = {version = "0.24.0", optional = true}
base64 = "0.21.0"
lazy_static = "1.4.0"
rand = "0.8"
trust-dns-resolver = "0.22.0"
rand_regex = "0.15.1"
regex-syntax = "0.6.22"
url = "2.4.0"
[target.'cfg(unix)'.dependencies]
rlimit = "0.10.0"
jemallocator = "0.5.0"
[dev-dependencies]
assert_cmd = "2.0.2"
bytes = "1.0"
get-port = "4.0.0"
http = "0.2"
lazy_static = "1.4.0"
warp = "0.3"