-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (43 loc) · 1.39 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
[package]
authors = ["Michael Leonhard <michael@leonhardllc.com>"]
description = "Modular HTTP server library, threaded handlers and async performance"
categories = ["network-programming", "web-programming::http-server", "web-programming::websocket"]
edition = "2021"
keywords = ["web", "http", "server", "async", "threaded"]
license = "MIT OR Apache-2.0"
name = "servlin"
repository = "https://github.com/mleonhard/servlin"
version = "0.4.3"
[features]
default = []
json = ["serde", "serde_json"]
urlencoded = ["serde", "serde_urlencoded"]
[dependencies]
async-fs = "^1.5.0"
async-net = "^1.6"
fixed-buffer = { version = "0.5", features = ["futures-io"] }
futures-io = "^0.3.21"
futures-lite = "^1.12.0"
include_dir = { version = "0.7", optional = true }
#libflate = "1"
once_cell = "1"
permit = "^0.2.1"
rand = { version = "^0.8.5", features = ["small_rng"] }
safe-regex = "^0.2.5"
safina-executor = { version = "^0.3.3" }
safina-sync = { version = "^0.2.4" }
safina-timer = { version = "^0.1.11" }
serde = { version = "1", optional = true, features = ["derive"] }
# TODO: Prevent these deps from appearing as features.
serde_json = { version = "1", optional = true }
serde_urlencoded = { version = "0.7", optional = true }
temp-dir = "^0.1.11"
temp-file = "^0.1.7"
url = "2"
[dev-dependencies]
[[example]]
name = "html_form"
required-features = ["urlencoded"]
[[example]]
name = "json_api"
required-features = ["json"]