forked from http-rs/tide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
80 lines (75 loc) · 2.33 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
[package]
authors = [
"Aaron Turon <aturon@mozilla.com>",
"Yoshua Wuyts <yoshuawuyts@gmail.com>",
]
description = "WIP modular web framework"
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"
name = "tide"
readme = "README.md"
repository = "https://github.com/rustasync/tide"
version = "0.2.0"
[features]
default = ["hyper", "cookies", "cors"]
cookies = ["tide-cookies"]
cors = ["tide-cors"]
hyper = ["http-service-hyper"]
[dependencies]
futures-preview = "0.3.0-alpha.17"
http = "0.1"
http-service = "0.2.0"
http-service-hyper = { version = "0.2.0", optional = true }
# Routing
fnv = "1.0.6"
route-recognizer = "0.1.12"
# Tide components
tide-cookies = { path = "./tide-cookies", optional = true, default-features = false }
tide-cors = { path = "./tide-cors", optional = true, default-features = false }
tide-core = { path = "./tide-core", default-features = false }
tide-headers = { path = "./tide-headers", default-features = false }
tide-log = { path = "./tide-log", default-features = false }
tide-forms = { path = "./tide-forms", default-features = false }
tide-querystring = { path = "./tide-querystring", default-features = false }
[dev-dependencies]
bytes = "0.4.12"
cookie = { version = "0.12", features = ["percent-encode"] }
env_logger = "0.6.1"
futures-fs = "0.0.5"
futures-util-preview = { version = "0.3.0-alpha.17", features = ["compat"] }
http-service-mock = "0.2.0"
juniper = "0.12.0"
log = "0.4.6"
log4rs = "0.8.3"
mime = "0.3.13"
mime_guess = "2.0.0-alpha.6"
percent-encoding = "1.0.1"
serde = { version = "1.0.91", features = ["derive"] }
tera = "0.11"
runtime = "0.3.0-alpha.6"
# Tide components
tide-log = { path = "./tide-log", default-features = false }
[workspace]
members = [
"tide-compression",
"tide-cookies",
"tide-core",
"tide-cors",
"tide-forms",
"tide-headers",
"tide-log",
"tide-panic",
"tide-querystring",
"tide-slog",
]
[patch.crates-io]
http-service = { git = "https://github.com/rustasync/http-service", branch = "master" }
http-service-hyper = { git = "https://github.com/rustasync/http-service", branch = "master" }
http-service-mock = { git = "https://github.com/rustasync/http-service", branch = "master" }