Cargo Features
[dependencies]
awint = { version = "0.17.0", default-features = false, features = ["const_support", "try_support", "alloc", "std", "rand_support", "serde_support", "zeroize_support", "dag", "debug", "u8_digits", "u16_digits", "u32_digits", "u64_digits", "u128_digits", "gen_counter_for_pstate", "u32_for_pstate"] }
note: running the tests requires
--all-features
- default = std, try_support
-
These default features are set whenever
awint
is added without
somewhere in the dependency tree.default-features = false - const_support
-
Turns on nightly features required for some functions to be marked
const
Enables const_support of awint_core and optional awint_ext
- try_support default
-
Turns on nightly features required for
Try
to work with some mimick typesEnables try_support of optional awint_dag
- alloc std = awint_ext
-
Turns on parts of the crate that require
alloc
Affects
awint::fp
… - std default dag? = alloc, awint_macro_internals
-
Turns on parts of the crate that require
std
- rand_support
-
Turns on
rand
supportEnables rand_support of awint_core
- serde_support
-
Turns on
serde
supportEnables serde_support of awint_core and optional awint_ext
- zeroize_support
-
Turns on
zeroize
supportEnables zeroize_support of awint_ext
- dag = awint_dag, std
-
Turns on
awint_dag
support. Note: this activatesstd
.Affects
awint::dag
… - debug
-
Enables debug of awint_dag and awint_macro_internals
awint_macro_internals:
Enables impls for debugging purposes. Also enables generation counters. Note: I did not name it 'd', 'b', 'g' because I have to check that no debug macros are in the crates.
- u8_digits
-
Only zero or one of these should be active
Note: this is automatically active for AVREnables u8_digits of awint_core
- u16_digits
-
Enables u16_digits of awint_core
- u32_digits
-
Enables u32_digits of awint_core
- u64_digits
-
Enables u64_digits of awint_core
- u128_digits
-
Enables u128_digits of awint_core
- gen_counter_for_pstate
-
forwarded to awint_dag
Enables gen_counter_for_pstate of optional awint_dag
- u32_for_pstate
-
Enables u32_for_pstate of optional awint_dag
awint_dag:
makes
PState
use a u32 sized index and counter
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.