This repository was archived by the owner on Dec 28, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
72 lines (61 loc) · 1.54 KB
/
Cargo.toml
File metadata and controls
72 lines (61 loc) · 1.54 KB
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
[package]
name = "finchers-template"
version = "0.2.0-dev"
authors = ["Yusuke Sasaki <yusuke.sasaki.nuem@gmail.com>"]
description = """
Template engine support for Finchers.
"""
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/finchers-rs/finchers-template.git"
build = "build.rs"
include = [
"/Cargo.toml",
"/build.rs",
"/src/**/*",
"/tests/**/*",
"/examples/**/*",
"/benches/**/*",
"/LICENSE-MIT",
"/LICENSE-APACHE",
]
[package.metadata.docs.rs]
features = [
"use-tera",
"use-handlebars",
"use-askama",
"use-horrorshow",
]
# FIXME: remove it as soon as the rustc version used in docs.rs is updated
rustdoc-args = ["--cfg", "finchers_inject_extern_prelude"]
[workspace]
members = [
"examples/askama",
"examples/handlebars",
"examples/horrorshow",
"examples/tera",
]
[dependencies]
finchers = "0.13"
failure = "0.1.2"
futures = "0.1.24"
http = "0.1.13"
lazy_static = "1.1.0"
mime = "0.3.9"
askama = { version = "0.7", optional = true }
handlebars = { version = "1", optional = true }
horrorshow = { version = "0.6", optional = true }
tera = { version = "0.11", optional = true }
mime_guess = { version = "2.0.0-alpha.6", optional = true }
serde = { version = "1.0.79", optional = true }
[dev-dependencies]
matches = "0.1.8"
[dev-dependencies.cargo-husky]
version = "1"
default-features = false
features = ["user-hooks"]
[features]
use-handlebars = ["handlebars", "mime_guess", "serde"]
use-tera = ["tera", "mime_guess", "serde"]
use-askama = ["askama", "mime_guess"]
use-horrorshow = ["horrorshow"]