Cargo Features

[dependencies]
asn1-rs = { version = "0.6.2", default-features = false, features = ["std", "bigint", "bits", "datetime", "debug", "serialize", "trace"] }
default = std

The std feature is set by default whenever asn1-rs is added without default-features = false somewhere in the dependency tree.

std default

Affects error::SerializeError, error::SerializeResult, traits::ToDer

bigint = num-bigint
bits = bitvec
datetime = time
debug trace? = colored

Affects debug::trace_generic, debug::trace

serialize = cookie-factory
trace = debug

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.

bitvec bits?
colored debug?
num-bigint bigint?
time datetime?