-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
32 lines (27 loc) · 895 Bytes
/
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
[package]
name = "fun-html"
version = "1.5.0"
license = "MIT"
authors = ["Jonathan Cornaz"]
edition = "2021"
rust-version = "1.60"
repository = "https://github.com/jcornaz/fun-html"
description = "HTML as a rust function"
categories = ["template-engine"]
keywords = ["html", "html-rendering", "web", "functional"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["std"]
std = ["html-escape/std"]
rocket_v05 = ["std", "dep:rocket_v05"]
salvo_v074 = ["std", "dep:salvo_v074"]
[dependencies]
# Public
rocket_v05 = { package = "rocket", version = "0.5", default-features = false, optional = true }
salvo_v074 = { package = "salvo", version = "0.74", default-features = false, optional = true }
# Private
html-escape = { version = "0.2", default-features = false }
[dev-dependencies]
rstest = { version = "0.23", default-features = false }