Debian Codegraph @

third_party/rust/askama_derive/Cargo.toml

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2021"
14 rust-version = "1.81"
15 name = "askama_derive"
16 version = "0.13.1"
17 build = false
18 autolib = false
19 autobins = false
20 autoexamples = false
21 autotests = false
22 autobenches = false
23 description = "Procedural macro package for Askama"
24 homepage = "https://github.com/askama-rs/askama"
25 readme = "README.md"
26 license = "MIT OR Apache-2.0"
27 repository = "https://github.com/askama-rs/askama"
28
29 [package.metadata.docs.rs]
30 all-features = true
31 rustdoc-args = [
32 "--generate-link-to-definition",
33 "--cfg=docsrs",
34 ]
35
36 [features]
37 alloc = []
38 blocks = ["syn/full"]
39 code-in-doc = ["dep:pulldown-cmark"]
40 config = [
41 "dep:basic-toml",
42 "dep:serde",
43 "dep:serde_derive",
44 "parser/config",
45 ]
46 default = [
47 "config",
48 "derive",
49 "std",
50 "urlencode",
51 ]
52 derive = []
53 full = [
54 "default",
55 "blocks",
56 "code-in-doc",
57 "serde_json",
58 ]
59 serde_json = []
60 std = ["alloc"]
61 urlencode = []
62
63 [lib]
64 name = "askama_derive"
65 path = "src/lib.rs"
66 proc-macro = true
67
68 [dependencies.basic-toml]
69 version = "0.1.1"
70 optional = true
71
72 [dependencies.memchr]
73 version = "2"
74
75 [dependencies.parser]
76 version = "=0.13.0"
77 package = "askama_parser"
78
79 [dependencies.proc-macro2]
80 version = "1"
81
82 [dependencies.pulldown-cmark]
83 version = "0.13.0"
84 optional = true
85 default-features = false
86
87 [dependencies.quote]
88 version = "1"
89 default-features = false
90
91 [dependencies.rustc-hash]
92 version = "2.0.0"
93
94 [dependencies.serde]
95 version = "1.0"
96 optional = true
97
98 [dependencies.serde_derive]
99 version = "1.0"
100 optional = true
101
102 [dependencies.syn]
103 version = "2.0.41"
104 features = [
105 "clone-impls",
106 "derive",
107 "parsing",
108 "printing",
109 ]
110 default-features = false
111
112 [dev-dependencies.console]
113 version = "0.15.8"
114
115 [dev-dependencies.prettyplease]
116 version = "0.2.20"
117
118 [dev-dependencies.similar]
119 version = "2.6.0"
120
121 [dev-dependencies.syn]
122 version = "2.0.41"
123 features = ["full"]
124
125 [lints.rust.unexpected_cfgs]
126 level = "allow"
127 priority = 0
128 check-cfg = ['cfg(feature, values("__standalone"))']