| # 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_parser" |
| version = "0.3.4" |
| build = false |
| autobins = false |
| autoexamples = false |
| autotests = false |
| autobenches = false |
| description = "Parser for Rinja templates" |
| homepage = "https://github.com/rinja-rs/rinja" |
| 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] |
| all-features = true |
| rustdoc-args = [ |
| "--generate-link-to-definition", |
| "--cfg=docsrs", |
| ] |
| |
| [lib] |
| name = "rinja_parser" |
| path = "src/lib.rs" |
| |
| [[bench]] |
| name = "from_str" |
| path = "benches/from_str.rs" |
| harness = false |
| |
| [dependencies.memchr] |
| version = "2" |
| |
| [dependencies.nom] |
| version = "7" |
| features = ["alloc"] |
| default-features = false |
| |
| [dependencies.serde] |
| version = "1.0" |
| features = ["derive"] |
| optional = true |
| |
| [dev-dependencies.criterion] |
| version = "0.5" |
| |
| [features] |
| config = ["dep:serde"] |