Cargo Features
MiniJinja-Contrib has no features set by default.
[dependencies]
minijinja-contrib = { version = "2.5.0", features = ["pycompat", "datetime", "timezone", "rand"] }
- pycompat
-
minijinja:
Engine Features
Affects
minijinja-contrib::pycompat
… - datetime = time
-
Affects
globals::now
… - timezone = time-tz
- rand
-
Enables rand
Affects
filters::random
,globals::randrange
,globals::lipsum
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- time datetime?
- time-tz timezone?
-
Enables time-tz ^1.0.3