File: Cargo.toml

package info (click to toggle)
rustc 1.85.0%2Bdfsg3-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental, sid, trixie
  • size: 893,396 kB
  • sloc: xml: 158,127; python: 35,830; javascript: 19,497; cpp: 19,002; sh: 17,245; ansic: 13,127; asm: 4,376; makefile: 1,051; perl: 29; lisp: 29; ruby: 19; sql: 11
file content (119 lines) | stat: -rw-r--r-- 2,429 bytes parent folder | download | duplicates (4)
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.71"
name = "rinja"
version = "0.3.5"
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type-safe, compiled Jinja-like templates for Rust"
homepage = "https://rinja.readthedocs.io/"
documentation = "https://docs.rs/rinja"
readme = "README.md"
keywords = [
    "markup",
    "template",
    "jinja2",
    "html",
]
categories = ["template-engine"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rinja-rs/rinja"

[package.metadata.docs.rs]
features = ["full"]
rustdoc-args = [
    "--generate-link-to-definition",
    "--cfg=docsrs",
]

[lib]
name = "rinja"
path = "src/lib.rs"

[[bench]]
name = "escape"
path = "benches/escape.rs"
harness = false

[[bench]]
name = "to-json"
path = "benches/to-json.rs"
harness = false
required-features = ["serde_json"]

[dependencies.humansize]
version = "2"
optional = true

[dependencies.itoa]
version = "1.0.11"

[dependencies.num-traits]
version = "0.2.6"
optional = true

[dependencies.percent-encoding]
version = "2.1.0"
optional = true

[dependencies.rinja_derive]
version = "=0.3.5"

[dependencies.serde]
version = "1.0"
optional = true

[dependencies.serde_json]
version = "1.0"
optional = true

[dev-dependencies.criterion]
version = "0.5"

[features]
code-in-doc = ["rinja_derive/code-in-doc"]
config = ["rinja_derive/config"]
default = [
    "config",
    "humansize",
    "urlencode",
]
full = [
    "default",
    "code-in-doc",
    "serde_json",
]
humansize = [
    "rinja_derive/humansize",
    "dep:humansize",
]
serde_json = [
    "rinja_derive/serde_json",
    "dep:serde",
    "dep:serde_json",
]
urlencode = [
    "rinja_derive/urlencode",
    "dep:percent-encoding",
]
with-actix-web = ["rinja_derive/with-actix-web"]
with-axum = ["rinja_derive/with-axum"]
with-rocket = ["rinja_derive/with-rocket"]
with-warp = ["rinja_derive/with-warp"]

[badges.maintenance]
status = "actively-developed"