-
Notifications
You must be signed in to change notification settings - Fork 25
/
Cargo.toml
56 lines (49 loc) · 1.4 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
51
52
53
54
55
56
[workspace]
[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
autoexamples = true
autotests = true
description = "Yet another web server framework for rust"
edition = "2018"
keywords = ["rweb", "server", "http", "hyper"]
license = "Apache-2.0"
name = "rweb"
repository = "https://github.com/kdy1/rweb.git"
version = "0.15.0"
[package.metadata.docs.rs]
all-features = true
[features]
boxed = ["rweb-macros/boxed"]
default = ["multipart", "websocket"]
multipart = ["warp/multipart"]
openapi = ["rweb-macros/openapi", "rweb-openapi"]
tls = ["warp/tls"]
websocket = ["warp/websocket"]
[dependencies]
chrono = {version = "0.4.19", features = ["serde"], optional = true}
enumset = {version = "1.0", features = ["serde"], optional = true}
futures = "0.3"
http = "0.2"
indexmap = "1"
rweb-macros = {version = "0.14.0", path = "./macros"}
rweb-openapi = {version = "0.7.0", optional = true}
scoped-tls = "1"
serde = {version = "1", features = ["derive"]}
serde_json = "1"
tokio = {version = "1.2", features = ["macros", "rt-multi-thread"]}
tokio-stream = "0.1"
uuid = {version = "0.8", features = ["serde"], optional = true}
warp = {version = "0.3.0", default-features = false}
[dev-dependencies]
bytes = "1.0"
http = "0.2"
hyper = "0.14"
log = "0.4"
pretty_env_logger = "0.4"
serde_yaml = "0.8"
[[example]]
name = "openapi"
required-features = ["openapi"]
[[example]]
name = "todo_websockets"
required-features = ["websocket"]