Cargo Features

[dependencies]
pr47 = { version = "0.1.4-CHARLIE", default-features = false, features = ["al31f", "al31f-builtin-ops", "async", "async-astd", "async-avoid-block", "async-tokio", "compiler", "compiler-pretty-diag", "d30f6", "no-rtlc", "optimized-rtlc", "std47", "with-log", "with-tracing", "bench"] }
default = al31f, al31f-builtin-ops, async-avoid-block, async-tokio, compiler, compiler-pretty-diag, optimized-rtlc, std47

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

al31f default

Affects vm::al31f

al31f-builtin-ops default

Affects test_program::async_spawn_program

async async-astd? async-tokio = futures

Affects ffi::async_fn, fs::AsyncReadToStringBind, fs::ASYNC_READ_TO_STRING_BIND, std47::futures, util::serializer, compiled::CompiledProgram.async_ffi_funcs, async_executor::VMThread.vm, async_executor::create_vm_main_thread, async_executor::create_vm_child_thread, executor::coroutine_spawn, al31f::AsyncCombustor, test_program::async_ffi_call_program, test_program::async_spawn_program

Required by the bench_al31fm2 binary

async-astd = async, async-std

Enables async-astd of xjbutil

async-avoid-block default
async-tokio default = async, tokio

Enables async-tokio of xjbutil

compiler default = phf

Enables typed-arena of xjbutil

Affects pr47::diag, pr47::parse, pr47::syntax, pr47::sema

Required by the token47 binary

compiler-pretty-diag default = unicode-width

Affects diag::prettier

Required by the token47 binary

d30f6

Affects vm::d30f6

huge-align no-rtlc
optimized-rtlc default
std47 default

Affects pr47::std47

with-log = log
with-tracing = tracing
bench

Required by bench_al31fm2 and bench_al31fm2_sync binaries

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.

async-std async-astd?
futures async?
log with-log?
phf compiler
tokio async-tokio
tracing with-tracing?
unicode-width compiler-pretty-diag

Enables unicode-width ^0.1