-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
48 lines (44 loc) · 1.5 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
[workspace]
members = [".", "benchmarks/actix-web-bench", "benchmarks/axum-bench", "benchmarks/tosic-http-bench", "examples/complete", "tosic-http-macro"]
[package]
name = "tosic-http"
version = "0.0.3"
authors = ["Emil Schütt <[email protected]>"]
description = "A basic but powerful HTTP server implementation based on `actix-web`"
keywords = ["http", "async"]
edition = "2021"
license = "MIT"
repository = "https://github.com/retrokiller543/tosic-http"
homepage = "https://github.com/retrokiller543/tosic-http"
[dependencies]
bytes = "1.8.0"
clap = { version = "4.5.20", features = ["derive"] }
console-subscriber = { version = "0.4.1", optional = true }
flate2 = "1.0.34"
futures = "0.3.31"
http = "1.1.0"
httparse = "1.9.5"
itertools = "0.13.0"
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.107"
thiserror = "2.0.0"
tokio = { version = "1.41.1", features = ["full"] }
tokio-util = { version = "0.7.12", features = ["full"] }
tosic-http-macro = { path = "tosic-http-macro", version = "0.0.3" }
tower = { version = "0.5.1", features = ["full"] }
tracing = { version = "0.1.37", features = ["log"] }
tracing-subscriber = { version = "0.3.18", features = ["env-filter"], optional = true }
pin-project-lite = "0.2.15"
mime = "0.3.17"
serde_urlencoded = "0.7.1"
paste = "1.0.15"
[features]
default = ["log-subscriber", "gzip"]
console-subscriber = ["dep:console-subscriber"]
log-subscriber = ["dep:tracing-subscriber"]
gzip = []
utils = []
trace = []
[profile.release]
lto = true
codegen-units = 1