-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
42 lines (37 loc) · 1.07 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
[package]
name = "via"
version = "2.0.0-beta.8"
authors = ["Zachary Golba <zachary.golba@postlight.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
description = "An async multi-threaded web framework for people who appreciate simplicity."
categories = ["web-programming::http-server"]
homepage = "https://github.com/zacharygolba/via"
repository = "https://github.com/zacharygolba/via"
[features]
default = ["http1"]
http1 = ["hyper/http1"]
http2 = ["hyper/http2"]
rustls = ["dep:tokio-rustls"]
[dependencies]
bytes = "1.8"
futures-core = { version = "0.3", default-features = false }
http = "1"
http-body = "1"
http-body-util = "0.1"
hyper = { version = "1.4", features = ["server"] }
hyper-util = { version = "0.1", features = ["tokio"] }
percent-encoding = "2.3"
serde = "1"
serde_json = "1"
tokio = { version = "1", features = ["macros", "signal"] }
via-router = "3.0.0-beta.2"
[dependencies.cookie]
version = "0.18"
features = ["percent-encode"]
[dependencies.tokio-rustls]
version = "0.26"
optional = true
default-features = false
[workspace]
members = ["crates/*", "examples/*"]