Cargo Features

[dependencies]
rasn = { version = "0.20.2", default-features = false, features = ["std", "macros", "backtraces", "compiler"] }
default = macros

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

std backtraces?
macros default = rasn-derive
backtraces = std

Enables backtrace of snafu

Affects decode::DecodeError.backtrace, encode::EncodeError.backtrace

compiler = rasn-compiler

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.

rasn-derive macros
rasn-compiler compiler?