Cargo Features

[dependencies]
automate = { version = "0.4.0", default-features = false, features = ["storage", "strict-deserializer", "trace-endpoints", "backtrace"] }
default = storage

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

storage default

Enables the storage system

Enables storage of automate-derive

Affects user::User.guilds, automate::storage

strict-deserializer

Returns error when deserialized data does not
have a corresponding field in the struct.
Only useful in development/debug to find data
that the library should support.

Re-exported to the derive crate.

Enables strict-deserializer of automate-derive

trace-endpoints

Trace data returned from HTTP endpoints. More
costly since it requires storing the data in a
string before deserializing it.

Re-exported to the derive crate.

Enables trace-endpoints of automate-derive

Features from optional dependencies

backtrace implicit feature

Enables backtrace

backtrace:

A library to acquire a stack trace (backtrace) at runtime in a Rust program

Affects errors::JsonContext.backtrace