Cargo Features

[dependencies]
lpn = { version = "0.2.0", default-features = false, features = ["csprng", "codes", "max_k_255", "golay", "golay_24", "bogosrnd", "bogosrnd_19", "custom", "custom_5", "hamming", "hamming_15", "hamming_127", "mds", "mds_5", "stgen", "wagner", "wagner_22", "wagner_25", "wagner_28", "wagner_32", "guava", "guava_15", "guava_19", "guava_23", "guava_25", "jemallocator"] }
default = codes, csprng

These default features are set whenever lpn is added without default-features = false somewhere in the dependency tree.

Enables debug_checks of unchecked_unwrap ^3.0

csprng default

enables the ChaCha8 RNG. It seems its not appreciably slower than PRNG Xoshiro

codes default bogosrnd_18? bogosrnd_19? custom_5? golay_23? golay_24? guava_12? guava_13? guava_14? guava_15? guava_16? guava_17? guava_18? guava_19? guava_20? guava_21? guava_22? guava_23? guava_24? guava_25? hamming_127? hamming_15? hamming_3? hamming_31? hamming_63? hamming_7? mds_3? mds_4? mds_5? stgen? wagner_20? wagner_21? wagner_22? wagner_23? wagner_24? wagner_25? wagner_26? wagner_27? wagner_28? wagner_29? wagner_30? wagner_32?

Affects lpn::covering_codes, lpn::codes

max_k_191 max_k_255

Affects oracle::MAX_K

golay = golay_23, golay_24
golay_23 golay_24 golay? = codes
bogosrnd = bogosrnd_18, bogosrnd_19
bogosrnd_18 bogosrnd_19 bogosrnd? = codes
custom = custom_5
custom_5 custom? = codes
hamming = hamming_127, hamming_15, hamming_3, hamming_31, hamming_63, hamming_7
hamming_3 hamming_7 hamming_15 hamming? = codes
hamming_31 hamming_63 hamming_127 hamming? = codes
mds = mds_3, mds_4, mds_5
mds_3 mds_4 mds_5 mds? = codes
stgen = codes
wagner = wagner_20, wagner_21, wagner_22, wagner_23, wagner_24, wagner_25, wagner_26, wagner_27, wagner_28, wagner_29, wagner_30, wagner_32
wagner_20 wagner_21 wagner_22 wagner? = codes
wagner_23 wagner_24 wagner_25 wagner? = codes
wagner_26 wagner_27 wagner_28 wagner? = codes
wagner_29 wagner_30 wagner_32 wagner? = codes
guava = guava_12, guava_13, guava_14, guava_15, guava_16, guava_17, guava_18, guava_19, guava_20, guava_21, guava_22, guava_23, guava_24, guava_25
guava_12 guava_13 guava_14 guava_15 guava? = codes
guava_16 guava_17 guava_18 guava_19 guava? = codes
guava_20 guava_21 guava_22 guava_23 guava? = codes
guava_24 guava_25 guava? = codes

Features from optional dependencies

jemallocator implicit feature

Enables jemallocator ^0.3.2

jemallocator:

A Rust allocator backed by jemalloc