-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
70 lines (65 loc) · 1.81 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
[package]
name = "rlt"
version = "0.2.0"
authors = ["Wenxuan Zhang <wenxuangm@gmail.com>"]
description = "A universal load testing library for Rust, with real-time TUI support"
categories = [
"visualization",
"command-line-utilities",
"development-tools::profiling",
]
edition = "2021"
keywords = ["performance", "load-testing", "benchmark", "cli"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/wfxr/rlt"
[lib]
name = "rlt"
path = "src/lib.rs"
[features]
default = ["tracing", "rate_limit", "http"]
tracing = ["dep:log", "dep:tracing", "dep:tui-logger"]
rate_limit = ["dep:governor"]
http = ["dep:http"]
[dependencies]
anyhow = "1"
byte-unit = "5.1"
clap = { version = "4.5", features = ["derive"] }
crossterm = "0.27"
humantime = "2.1"
serde = { version = "1", features = ["serde_derive"] }
serde_json = "1"
tokio = { version = "1.36", features = ["rt", "time", "signal", "macros"] }
tokio-util = "0.7"
ratatui = { version = "0.27", features = [
"crossterm",
], default-features = false }
async-trait = "0.1"
hdrhistogram = "7.5"
itertools = "0.13"
tabled = "0.15"
cfg-if = "1"
parking_lot = "0.12"
nonzero_ext = "0.3"
http = { version = "1.1", optional = true }
governor = { version = "0.6", optional = true }
log = { version = "0.4", optional = true }
tracing = { version = "0.1", optional = true }
tui-logger = { version = "0.11", optional = true, features = [
"tracing-support",
] }
[dev-dependencies]
tokio = { version = "1.36", features = ["rt-multi-thread"] }
bytes = "1.6"
http-body-util = "0.1"
hyper = { version = "1.2", features = ["client"] }
hyper-tls = "0.6"
hyper-util = { version = "0.1", features = [
"client",
"client-legacy",
"http1",
"tokio",
] }
reqwest = "0.12"
tokio-postgres = "0.7"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }