Cargo Features
aranya-fast-channels has no features set by default.
[dependencies]
aranya-fast-channels = { version = "0.3.0", features = ["alloc", "cas_mutex", "libc", "memory", "page-aligned", "posix", "sdlib", "std", "testing", "trng", "unsafe_debug", "allocator_api", "try_find"] }
- alloc allocator_api? memory? std?
-
Enable allocations.
Enables alloc of aranya-crypto
- cas_mutex
-
Use the simple CAS-based mutex.
Primarily for testing purposes. - libc page-aligned? posix? sdlib?
-
Use libc.
Enables libc
- memory testing? = alloc
-
Enable the in-memory state implementation.
- page-aligned = libc
-
Support page-aligned NodeLists.
- posix = libc
-
Have POSIX shm_open, etc.
- sdlib = libc
-
Have VxWorks 6.9 sdLib.
- std testing? = alloc
-
Use std.
Enables std of aranya-crypto
- testing = memory, std
-
Include testing utilities.
Enables test_util of aranya-crypto and hex and log
hex:
Only enabled by the
testing
feature which already enablesstd
. - trng
-
Use a system provided TRNG for the default CSPRNG.
Enables trng of aranya-crypto
- unsafe_debug
-
Enable unsafe debugging.
This is unsafe because it'll print out cryptographic keys and whatnot.Enables log
Affects
util::init_debug_logging
… - allocator_api = alloc
-
Other features.
- core_intrinsics try_find