-
Notifications
You must be signed in to change notification settings - Fork 13
/
Cargo.toml
86 lines (74 loc) · 2.09 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
[package]
name = "vial"
description = "a micro micro-framework"
homepage = "https://vial.rs"
repository = "https://github.com/xvxx/vial"
version = "0.1.10-dev"
authors = ["chris west <[email protected]>"]
documentation = "https://docs.rs/vial/"
edition = "2021"
license = "MIT/Apache-2.0"
readme = "README.md"
categories = ["network-programming", "web-programming::http-server"]
keywords = ["http", "vial", "web", "framework"]
exclude = [
"examples/*",
"tests/*",
"docs/*",
]
[package.metadata.release]
consolidate-commits = true
dev-version-ext = "dev"
pre-release-replacements = [
{file="CHANGELOG.md", search="\\$Unreleased", replace="{{version}}"},
{file="CHANGELOG.md", search="\\$ReleaseDate", replace="{{date}}"},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n\n## [$Unreleased] - $ReleaseDate"},
]
[[example]]
name = "cookies"
path = "examples/cookies.rs"
required-features = ["cookies"]
[[example]]
name = "sessions"
path = "examples/sessions.rs"
required-features = ["sessions"]
[[example]]
name = "hatter"
path = "examples/hatter.rs"
required-features = ["hatter"]
[[example]]
name = "horror"
path = "examples/horror.rs"
required-features = ["horror"]
[[example]]
name = "json_serde"
path = "examples/json_serde.rs"
required-features = ["json_serde"]
[[example]]
name = "json_nano"
path = "examples/json_nano.rs"
required-features = ["json_nano"]
[[example]]
name = "state"
path = "examples/state.rs"
[[example]]
name = "filters"
path = "examples/filters.rs"
[features]
horror = ['horrorshow']
json_serde = ['serde', 'serde_json']
json_nano = ['nanoserde']
state = []
cookies = ['cookie2']
sessions = ['cookies', 'short-crypt']
default = []
[dependencies]
threadpool = "1.7.1"
libc-strftime = "0.2.0"
cookie2 = { version = "0.12.0", default-features = false, optional = true }
hatter = { version = "0.1.1", optional = true }
horrorshow = { version = "0.8.3", optional = true }
serde = { version = "1", optional = true }
serde_json = { version = "1", optional = true }
nanoserde = { version = "0.1.29", optional = true }
short-crypt = { version = "1.0.27", optional = true }