-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
50 lines (41 loc) · 1.49 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
[package]
name = "fastcgi-server"
version = "0.1.0"
license = "Apache-2.0 OR MIT"
edition = "2021"
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"]
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", default-features = false, features = ["std"] }
futures-util = { version = "0.3.22", optional = true, default-features = false, features = ["std", "io"] }
# Internal
ref-cast = "1.0.11"
thiserror = "1.0"
strum = { version = "0.26.0", features = ["derive", "phf"] }
replace_with = "0.1.7"
smallvec = { version = "1.6.0", features = ["union", "const_generics", "write"] }
compact_str = "0.7.0"
async-lock = { version = "3.1.2", optional = true }
event-listener = { version = "4.0.0", optional = true }
[dev-dependencies]
fastrand = "2.0.0"
tracing-subscriber = "0.3.16"
tokio = { version = "1.27.0", 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"]