-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
52 lines (45 loc) · 1.06 KB
/
Cargo.toml
File metadata and controls
52 lines (45 loc) · 1.06 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
[package]
name = "rust_html"
edition = "2021"
version = "1.1.6"
authors = ["Sigve Røkenes <me@evgiz.net>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/evgiz/rust_html"
repository = "https://github.com/evgiz/rust_html"
description = "Minimal compile-safe HTML templating library"
categories = ["template-engine"]
keywords = [
"html",
"templating",
"template",
"components",
"rhtml",
]
[features]
default = []
axum = ["axum-core", "http"]
[lib]
name = "rust_html"
[dependencies]
html-escape = "0.2.13"
rust_html_macros = { path = "./rust_html_macros", version = "1.1.4" }
axum-core = { version = "0.5", optional = true }
http = { version = "1", optional = true }
[dev-dependencies]
axum = { version="0.8.1" }
tokio = { version = "1.42.0", features = ["rt-multi-thread"] }
rand = "0.8.5"
[workspace]
members = [
"rust_html_macros",
"rust_html_tests",
]
[[example]]
path = "examples/axum.rs"
name = "axum"
required-features = ["axum"]
[[example]]
path = "examples/axum_calculator.rs"
name = "axum_calculator"
required-features = ["axum"]