-
Notifications
You must be signed in to change notification settings - Fork 321
/
Cargo.toml
99 lines (87 loc) · 2.34 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[package]
name = "tide"
version = "0.17.0-beta.1"
description = "A minimal and pragmatic Rust web application framework built for rapid development"
authors = [
"Aaron Turon <[email protected]>",
"Yoshua Wuyts <[email protected]>",
"Wonwoo Choi <[email protected]>",
]
documentation = "https://docs.rs/tide"
keywords = ["tide", "http", "web", "framework", "async"]
categories = [
"network-programming",
"asynchronous",
"web-programming::http-server"
]
edition = "2018"
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/http-rs/tide"
[package.metadata.docs.rs]
features = ["docs"]
rustdoc-args = ["--cfg", "feature=\"docs\""]
[features]
default = ["h1-server"]
cookies = ["http-types/cookies"]
h1-server = ["async-h1"]
logger = []
docs = ["unstable"]
sessions = ["async-session", "cookies"]
sse = ["async-sse"]
unstable = []
[dependencies]
async-h1 = { version = "2.3.0", optional = true }
async-session = { version = "3.0", optional = true }
async-sse = { version = "5.1.0", optional = true }
async-std = { version = "1.6.5", features = ["unstable"] }
async-trait = "0.1.41"
futures-util = "0.3.6"
http-client = { version = "6.1.0", default-features = false }
http-types = { version = "2.11.0", default-features = false, features = ["fs"] }
kv-log-macro = "1.0.7"
log = { version = "0.4.13", features = ["kv_unstable_std"] }
pin-project-lite = "0.2.0"
serde = "1.0.117"
serde_json = "1.0.59"
routefinder = "0.5.0"
regex = "1.5.5"
[dev-dependencies]
async-std = { version = "1.6.5", features = ["unstable", "attributes"] }
criterion = "0.3.3"
femme = "2.1.1"
juniper = "0.14.2"
kv-log-macro = "1.0.7"
lazy_static = "1.4.0"
logtest = "2.0.0"
portpicker = "0.1.0"
serde = { version = "1.0.117", features = ["derive"] }
surf = { version = "2.0.0", default-features = false, features = ["h1-client"] }
tempfile = "3.1.0"
[[test]]
name = "cookies"
path = "tests/cookies.rs"
required-features = ["cookies"]
[[test]]
name = "nested"
path = "tests/nested.rs"
required-features = ["unstable"]
[[test]]
name = "sessions"
path = "tests/sessions.rs"
required-features = ["sessions"]
[[bench]]
name = "router"
harness = false
[[bench]]
name = "nest"
harness = false
[[example]]
name = "cookies"
required-features = ["cookies"]
[[example]]
name = "sessions"
required-features = ["sessions"]
[[example]]
name = "sse"
required-features = ["sse"]