Cargo Features

[dependencies]
upon = { version = "0.8.1", default-features = false, features = ["filters", "serde", "unicode"] }
default = filters, serde, unicode

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

filters default

Enables support for filters in templates. This does not affect value formatters. Disabling this will improve compile times.

Affects upon::filters, core::FilterState

serde default

Enables all serde support and pulls in the serde crate as a dependency. If disabled then you can use .render_from() to render templates and construct the context using Value's 'From impls.

Enables serde

unicode default

Allows unicode identifiers in templates and enables improved error formatting.

Enables unicode-ident and unicode-width ^0.1.9