# 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.63" name = "minijinja-contrib" version = "2.5.0" authors = ["Armin Ronacher "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Extra utilities for MiniJinja" homepage = "https://github.com/mitsuhiko/minijinja" readme = "README.md" keywords = [ "jinja", "jinja2", "templates", ] license = "Apache-2.0" repository = "https://github.com/mitsuhiko/minijinja" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", "--html-in-header", "doc-header.html", ] [lib] name = "minijinja_contrib" path = "src/lib.rs" [[test]] name = "datetime" path = "tests/datetime.rs" [[test]] name = "filters" path = "tests/filters.rs" [[test]] name = "globals" path = "tests/globals.rs" [[test]] name = "pycompat" path = "tests/pycompat.rs" [dependencies.minijinja] version = "2.5.0" default-features = false [dependencies.rand] version = "0.8.5" features = [ "std", "std_rng", "small_rng", ] optional = true default-features = false [dependencies.serde] version = "1.0.164" [dependencies.time] version = "0.3.35" features = [ "serde", "formatting", "parsing", ] optional = true [dependencies.time-tz] version = "1.0.3" features = ["db"] optional = true [dev-dependencies.chrono] version = "0.4.26" features = ["serde"] [dev-dependencies.insta] version = "1.38.0" features = [ "glob", "serde", ] [dev-dependencies.minijinja] version = "2.5.0" features = ["loader"] [dev-dependencies.similar-asserts] version = "1.4.2" [features] datetime = ["time"] default = [] pycompat = ["minijinja/builtins"] rand = ["dep:rand"] timezone = ["time-tz"]