Source code

Revision control

Copy as Markdown

Other Tools

# 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.81"
name = "askama_derive"
version = "0.13.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macro package for Askama"
readme = "README.md"
license = "MIT OR Apache-2.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--generate-link-to-definition",
"--cfg=docsrs",
]
[features]
alloc = []
blocks = ["syn/full"]
code-in-doc = ["dep:pulldown-cmark"]
config = [
"dep:basic-toml",
"dep:serde",
"dep:serde_derive",
"parser/config",
]
default = [
"config",
"derive",
"std",
"urlencode",
]
derive = []
full = [
"default",
"blocks",
"code-in-doc",
"serde_json",
]
serde_json = []
std = ["alloc"]
urlencode = []
[lib]
name = "askama_derive"
path = "src/lib.rs"
proc-macro = true
[dependencies.basic-toml]
version = "0.1.1"
optional = true
[dependencies.memchr]
version = "2"
[dependencies.parser]
version = "=0.13.0"
package = "askama_parser"
[dependencies.proc-macro2]
version = "1"
[dependencies.pulldown-cmark]
version = "0.13.0"
optional = true
default-features = false
[dependencies.quote]
version = "1"
default-features = false
[dependencies.rustc-hash]
version = "2.0.0"
[dependencies.serde]
version = "1.0"
optional = true
[dependencies.serde_derive]
version = "1.0"
optional = true
[dependencies.syn]
version = "2.0.41"
features = [
"clone-impls",
"derive",
"parsing",
"printing",
]
default-features = false
[dev-dependencies.console]
version = "0.15.8"
[dev-dependencies.prettyplease]
version = "0.2.20"
[dev-dependencies.similar]
version = "2.6.0"
[dev-dependencies.syn]
version = "2.0.41"
features = ["full"]
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = ['cfg(feature, values("__standalone"))']