-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
52 lines (43 loc) · 1.53 KB
/
Cargo.toml
File metadata and controls
52 lines (43 loc) · 1.53 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
[package]
name = "fastcgi-server"
version = "0.1.0"
license = "Apache-2.0 OR MIT"
edition = "2021"
rust-version = "1.66"
authors = ["TheJokr <leo@bloecher.dev>"]
repository = "https://github.com/TheJokr/fastcgi-server"
description = "Yet another server-side FastCGI library"
keywords = ["fastcgi", "protocol", "backend", "web"]
categories = ["network-programming", "web-programming"]
[features]
async = ["dep:futures-util", "dep:async-lock", "dep:event-listener"]
http = ["dep:http"]
log = ["tracing/log"]
trace-more = []
[dependencies]
# Integrations (semver-relevant)
http = { version = "1.0.0", optional = true }
# Exposed to users (semver-relevant)
bitflags = "2.0.0"
tracing = { version = "0.1.38", default-features = false, features = ["std"] }
futures-util = { version = "0.3.22", optional = true, default-features = false, features = ["std", "io"] }
# Internal
ref-cast = "1.0.21"
thiserror = "2.0.7"
strum = { version = "0.27.2", features = ["derive", "phf"] }
replace_with = "0.1.8"
smallvec = { version = "1.6.0", features = ["union", "const_generics", "write"] }
compact_str = "0.9.0"
async-lock = { version = "3.4.0", optional = true }
event-listener = { version = "5.3.1", optional = true }
[dev-dependencies]
fastrand = "2.2.0"
tracing-subscriber = "0.3.20"
tokio = { version = "1.38.2", features = ["macros", "rt", "net", "signal"] }
tokio-util = { version = "0.7.0", features = ["compat"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[example]]
name = "hello-cgi"
required-features = ["async", "http"]