Cargo Features

[dependencies]
stakker = { version = "0.2.10", default-features = false, features = ["no-unsafe", "no-unsafe-queue", "multi-thread", "multi-stakker", "inline-deferrer", "inter-thread", "logger", "anymap"] }

For more details on features, see crate docs. Features are additive in cargo, so summing features must result a less restrictive, more flexible configuration (even if less efficient), or else things will break when different crates using Stakker are combined in a build.

default = inter-thread

The inter-thread feature is set by default whenever stakker is added without default-features = false somewhere in the dependency tree.

no-unsafe

Disable all unsafe code and compile with #[forbid(unsafe_code)]

no-unsafe-queue

Disable the unsafe fast FnOnce queue code

multi-thread

Allow Stakker to run in more than one thread at a time

multi-stakker

Allow more than one Stakker to run in each thread

inline-deferrer

Force use of the inline Deferrer

inter-thread default

Enable inter-thread operations: Waker, PipedThread

logger

Enable core logger support (Stakker::set_logger())

anymap

Ignored for backwards-compatibility. anymap is now always enabled