Cargo Features

aranya-fast-channels has no features set by default.

[dependencies]
aranya-fast-channels = { version = "0.1.0", features = ["alloc", "cas_mutex", "libc", "memory", "moonshot", "page-aligned", "posix", "sdlib", "std", "testing", "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.

moonshot

For Project Moonshot.

Enables moonshot of aranya-crypto

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 enables std.

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