Cargo Features

[dependencies]
libarc2 = { version = "0.5.0", default-features = false, features = ["flag_addresses", "hardware_tests", "debug_packets", "dummy_writes", "zero_before_write"] }
default = flag_addresses

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

flag_addresses default

enable flag addresses to check data validity

hardware_tests

enable this to run hardware tests with cargo test

debug_packets

enable this to print out raw packets to stderr

dummy_writes

enabling this prevents libarc2 from writing to the hardware

zero_before_write

enable this to zero memory segments before writing