-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
59 lines (49 loc) · 1.37 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
[package]
name = "rinha-de-backend"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bitcode = { version = "0.5.1", features = ["serde"] }
bytes = "^1.5"
derive_more = { version = "1.0.0-beta.6", features = ["deref"] }
either = "1.10.0"
eyre = "0.6.12"
fastrand = "2"
futures = "0.3.30"
futures-util = "0.3.30"
listenfd = "^1"
regex-lite = "0.1"
strum = { version = "0.26", features = ["derive"] }
time = { version = "^0.3", features = ["serde", "formatting"] }
tokio = { version = "^1", features = ["full"] }
# databasey
deadpool-postgres = "^0.12"
redis = { version = "0.24", features = ["ahash", "tokio-comp", "connection-manager"] }
tokio-postgres = "^0.7"
# json-parsing
serde = { version = "^1", features = ["derive"] }
serde_json = "1"
simd-json = { version = "0.13.8", features = ["serde_impl"] }
# optimization
ahash = "0.8.9"
compact_str = { version = "0.8.0-beta", features = ["serde"] }
enum-map = "3.0.0-beta.2"
fnv = "^1"
drop_bomb = "0.1.5"
mimalloc = { version = "0.1", default-features = false }
# server impl
http = "1"
httparse = "1.8"
memchr = "^2"
unicase = "2.7.0"
# other
console-subscriber = "0.2"
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
[[bench]]
name = "http_parse"
harness = false
[profile.release]
debug = true
strip = false