forked from nickel-org/nickel.rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
155 lines (110 loc) · 2.79 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
[package]
name = "nickel"
version = "0.12.0"
authors = [ "Christoph Burgdorf <christoph@thoughtram.io>",
"Kevin Butler <haqkrs@gmail.com>",
"Simon Persson <simon@flaskpost.org>",
"Jeff Olhoeft <jolhoeft@gmail.com>" ]
description = "An express.js inspired web framework"
license = "MIT"
edition = "2018"
homepage = "http://nickel-org.github.io/"
repository = "https://github.com/nickel-org/nickel.rs"
readme = "README.md"
keywords = ["nickel", "server", "web", "express"]
autoexamples = false
[features]
unstable = ["hyper/nightly", "compiletest_rs"]
[dependencies]
async-trait = "0.1"
chrono = "0.4"
futures = "0.3"
futures-util = { version = "0.3", default-features = false }
groupable = "0.2"
hyper = { version = "0.14", features = ["full"] }
lazy_static = "1.0"
log = "0.4"
mime = "0.3"
modifier = "0.1"
mustache = "0.9"
plugin = "0.2"
regex = "1.0"
serde = "1.0"
serde_json = "1.0"
tokio = { version = "1", features = ["full"] }
tokio-util = { version = "0.6", features = ["codec"] }
typemap = "0.3"
url = "2"
[dev-dependencies]
serde_derive = "1.0"
reqwest = { version = "0.11", features = ["blocking", "json"] }
[dependencies.compiletest_rs]
version = "0.7"
optional = true
[[example]]
name = "logger_middleware"
path = "examples/logger_middleware.rs"
[[example]]
name = "routing"
path = "examples/routing.rs"
[[example]]
name = "enable_cors"
path = "examples/enable_cors.rs"
[[example]]
name = "template"
path = "examples/template.rs"
# TODO: needs updated middleware and router macros
# [[example]]
#
# name = "macro_example"
# path = "examples/macro_example.rs"
[[example]]
name = "hello_world"
path = "examples/hello_world.rs"
[[example]]
name = "hello_world_macro"
path = "examples/hello_world_macro.rs"
[[example]]
name = "json"
path = "examples/json.rs"
[[example]]
name = "custom_error_handler"
path = "examples/custom_error_handler.rs"
[[example]]
name = "moved_ownership"
path = "examples/moved_ownership.rs"
[[example]]
name = "route_data"
path = "examples/route_data.rs"
[[example]]
name = "integration_testing"
path = "examples/integration_testing.rs"
[[example]]
name = "static_files"
path = "examples/static_files.rs"
[[example]]
name = "regex_route"
path = "examples/regex_route.rs"
[[example]]
name = "query_string"
path = "examples/query_string.rs"
[[example]]
name = "mount"
path = "examples/mount.rs"
[[example]]
name = "chaining"
path = "examples/chaining.rs"
[[example]]
name = "form_data"
path = "examples/form_data/form_data.rs"
# TODO: long term, hyper support for https is very different now
# [[example]]
#
# name = "https"
# path = "examples/https.rs"
[[example]]
name = "no_macro_custom_data"
path = "examples/no_macro_custom_data.rs"
[[example]]
name = "no_macro_response_custom_data"
path = "examples/no_macro_response_custom_data.rs"