Cargo Features

[dependencies]
validit = { version = "0.2.4", default-features = false, features = ["macros", "backtrace", "bench"] }
default = macros

The macros feature is set by default whenever validit is added without default-features = false somewhere in the dependency tree.

macros default

Enable macros such as less!(a,b)

Enables anyerror

Affects validit::macros

backtrace

Enable backtrace when generating an error.
Stable rust does not support backtrace.

Enables backtrace of anyerror

bench

Enable benchmark