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 (hence StaticRc) 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 therefore StaticRc.

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 on StaticRc. This currently requires nightly, and specifically the async_iterator feature.

nightly-coerce-unsized

Enables CoerceUnsized on StaticRc. This currently requires nightly, and specifically the coerce_unsized feature.

nightly-dispatch-from-dyn

Enables DispatchFromDyn on StaticRc. This currently requires nightly, and specifically the dispatch_from_dyn feature.

nightly-generator-trait

Enables Generator on StaticRc. This currently requires nightly, and specifically the generator_trait feature.