Cargo Features

[dependencies]
bable = { version = "0.1.0", default-features = false, features = ["std", "full", "singlethread", "metrics", "metrics-std", "nightly", "js", "aes", "aes-std", "inline-more"] }
default = std

The std feature is set by default whenever bable is added without default-features = false somewhere in the dependency tree.

std default full? = crossbeam-channel, crossbeam-utils, fmmap, num_cpus, parking_lot

Enables use_std of scopeguard, sync of stretto ^0.7, std of tracing, ref_counter_std and std of vela-utils, sea-std, std and xxhash64-std of vpb, std and threadpool of zallocator and std of rand

rand:

Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.

full = std

Enables tracing

singlethread = hashbrown, scopeguard

Enables singlethread of vela-utils, core of zallocator

metrics

Enables spin_no_std of lazy_static, map_cell of vela-utils

Affects bable::metrics

metrics-std = lazy_static

Enables map_cell_std of vela-utils

nightly

Enables nightly of lru ^0.7 and zallocator

js

Enables js of getrandom

aes

enable aes encryption

Enables aes of vpb

aes-std

Enables aes-std of vpb

inline-more

Enables inline-more of hashbrown ^0.12

hashbrown:

Enables usage of #[inline] on far more functions than by default in this crate. This may lead to a performance increase but often comes at a compile time cost.

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.

crossbeam-channel std
crossbeam-utils std
fmmap std
getrandom js?
hashbrown inline-more? singlethread?

Enables hashbrown ^0.12

lazy_static metrics? metrics-std?
num_cpus std
parking_lot std
scopeguard singlethread? std
stretto std

Enables stretto ^0.7

tracing full? std