-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
71 lines (65 loc) · 1.98 KB
/
Cargo.toml
File metadata and controls
71 lines (65 loc) · 1.98 KB
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
[package]
name = "statico"
version = "0.9.1"
edition = "2021"
authors = ["Nicola Bonelli <nicola@larthia.com>"]
description = "A blazing-fast HTTP server implemented in Rust that serves static responses at lightning speed."
license = "MIT OR Apache-2.0"
repository = "https://github.com/awgn/statico"
readme = "README.md"
keywords = ["cli", "utility", "benchmark", "http"]
categories = ["command-line-utilities", "network-programming"]
[dependencies]
clap = { version = "4.6", features = ["derive"] }
hyper = { version = "1.8", features = ["full"] }
hyper-util = { version = "0.1", features = ["full"] }
tokio = { version = "1.50", features = ["full"] }
http-body-util = "0.1"
bytes = "1.11"
socket2 = { version = "0.6", features = ["all"] }
anyhow = "1.0"
num_cpus = "1.17"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
httparse = "1.10.1"
http_wire = "0.7.0"
smol = { version = "2.0", optional = true }
smol-hyper = { version = "0.1", optional = true }
http-body = "1.0.1"
pingora-timeout = "0.8.0"
humantime = "2.3.0"
owo-colors = "4.3.0"
contatori = "0.7.5"
ctrlc = "3.5.2"
dashmap = "6.1"
pin-project-lite = "0.2.17"
core_affinity = "0.8.3"
futures = "0.3.32"
tokio-stream = { version = "0.1.18", features = ["net"] }
number_range = "0.3.2"
[target.'cfg(target_os = "linux")'.dependencies]
tokio-uring = { version = "0.5.0", optional = true }
monoio = { version = "0.2", optional = true }
io-uring = { version = "0.6", optional = true }
glommio = { version = "0.9", optional = true }
[dependencies.compio]
version = "0.18"
features = ["runtime", "net"]
optional = true
[features]
default = ["mimalloc"]
tokio_uring = ["dep:tokio-uring"]
monoio = ["dep:monoio", "dep:io-uring"]
glommio = ["dep:glommio"]
smol = ["dep:smol", "dep:smol-hyper"]
compio = ["dep:compio"]
full = ["tokio_uring", "monoio", "glommio", "smol", "compio", "mimalloc"]
[profile.release]
debug = false
opt-level = 3
strip = true
codegen-units = 1
lto = true
[dependencies.mimalloc]
version = "0.1"
optional = true