Cargo Features
[dependencies]
minijinja = { version = "2.5.0", default-features = false, features = ["preserve_order", "debug", "loader", "unicode", "custom_syntax", "std_collections", "serde", "key_interning", "speedups", "builtins", "macros", "multi_template", "adjacent_loop_items", "loop_controls", "fuel", "json", "urlencode", "internal_debug", "unstable_machinery", "unstable_machinery_serde", "stacker"] }
- default = adjacent_loop_items, builtins, debug, deserialization, macros, multi_template, serde, std_collections
-
These default features are set whenever
minijinja
is added without
somewhere in the dependency tree.default-features = false - 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
- serde default unstable_machinery_serde?
- key_interning
-
Speedups
- speedups = v_htmlescape
- builtins default
-
Engine Features
Affects
utils::splitn_whitespace
… - 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
- loop_controls
-
Affects
ast::Continue
,ast::Break
… - 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
-
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?
- memo-map loader?
- unicode-ident unicode?
- unicase unicode?
- stacker implicit feature