Cargo Features

[dependencies]
minijinja = { version = "2.0.0-alpha.0", default-features = false, features = ["preserve_order", "debug", "loader", "unicode", "custom_syntax", "std_collections", "key_interning", "speedups", "builtins", "macros", "multi_template", "adjacent_loop_items", "fuel", "json", "urlencode", "internal_debug", "unstable_machinery", "unstable_machinery_serde", "stacker"] }
default = adjacent_loop_items, builtins, debug, deserialization, macros, multi_template, std_collections

These default features are set whenever minijinja is added without default-features = false somewhere in the dependency tree.

preserve_order = indexmap

API features

deserialization debug default
loader = memo-map, self_cell
unicode = unicase, unicode-ident
custom_syntax

Enables aho-corasick

std_collections default
key_interning

Speedups

speedups = v_htmlescape
builtins default

Engine Features

macros default

Affects ast::Macro, ast::CallBlock, instructions::MACRO_CALLER, meta::find_macro_closure

multi_template default

Affects ast::Block, ast::Extends, ast::Include, ast::FromImport, ast::Import

adjacent_loop_items default
fuel
json = serde_json

Extra Filters

urlencode = percent-encoding
internal_debug unstable_machinery?

Internal Features that should not be used

unstable_machinery unstable_machinery_serde? = internal_debug

Affects minijinja::machinery

unstable_machinery_serde = unstable_machinery

Enables derive of serde

serde:

Provide derive(Serialize, Deserialize) macros.

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.

v_htmlescape speedups?
self_cell loader?
serde_json json?
percent-encoding urlencode?
indexmap preserve_order?

Enables indexmap ^1.9.0

memo-map loader?
unicode-ident unicode?
unicase unicode?
stacker implicit feature