-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
63 lines (53 loc) · 1.38 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
[package]
name = "kingkong"
version = "0.1.0"
edition = "2021"
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 = "hatter"
path = "examples/hatter.rs"
required-features = ["hatter"]
[[example]]
name = "horror"
path = "examples/horror.rs"
required-features = ["horror"]
[[example]]
name = "json"
path = "examples/json.rs"
required-features = ["json_serde"]
[[example]]
name = "state"
path = "examples/state.rs"
[[example]]
name = "filters"
path = "examples/filters.rs"
[features]
horror = ['horrorshow']
json_serde = ['serde', 'serde_json']
state = []
cookies = ['cookie2']
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 }