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 wheneverautomate
is added without
somewhere in the dependency tree.default-features = false - 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