Cargo Features

[dependencies]
onsen = { version = "0.14.0", default-features = false, features = ["tbox", "stpool", "st_tbox", "parking_lot"] }
default = st_tbox

TBox, using threadcell::ThreadCell/STPool

tbox st_tbox

Enables assoc_static

stpool st_tbox

Enables threadcell ^0.8.1

st_tbox default = stpool, tbox

Affects tboxed::TBoxPool, trefcounted::TRcPool, tstrongcounted::TScPool

Features from optional dependencies

parking_lot implicit feature

Enables parking_lot

parking_lot:

More compact and efficient implementations of the standard synchronization primitives