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