Cargo Features
[dependencies]
static-rc = { version = "0.6.1", default-features = false, features = ["compile-time-ratio", "alloc", "experimental-lift", "nightly-async-iterator", "nightly-coerce-unsized", "nightly-dispatch-from-dyn", "nightly-generator-trait"] }
- default = alloc
-
Enables
alloc
(henceStaticRc
) by default. - compile-time-ratio
-
Checks
split
/join
at compile-time rather than run-time. This currently requires nightly, see src/lib.rs for the features required.Affects
rc::compile_ratio_tests
,rcref::compile_ratio_tests
… - alloc default
-
Enables
alloc
, and thereforeStaticRc
.Affects
static-rc::rc
… - experimental-lift
-
Enables
lift
, an experimental feature to allow tying the knot.Affects
static-rc::lift
… - nightly-async-iterator
-
Enables
AsyncIterator
onStaticRc
. This currently requires nightly, and specifically theasync_iterator
feature. - nightly-coerce-unsized
-
Enables
CoerceUnsized
onStaticRc
. This currently requires nightly, and specifically thecoerce_unsized
feature. - nightly-dispatch-from-dyn
-
Enables
DispatchFromDyn
onStaticRc
. This currently requires nightly, and specifically thedispatch_from_dyn
feature. - nightly-generator-trait
-
Enables
Generator
onStaticRc
. This currently requires nightly, and specifically thegenerator_trait
feature.