Cargo Features

[dependencies]
frosty = { version = "0.0.3", default-features = false, features = ["async-cancel", "debug", "macros", "sync", "utils", "bytes"] }
async-cancel default

async-cancel will push a async-cancel entry into sq when op is canceled.

debug

enable debug if you want to know what runtime does.

macros default = frosty-macros

enable async main macros support.

sync = flume, lazy_static

allow waker to be sent across threads

Affects driver::Driver.unpark, driver::UnparkHandle

utils default = nix

enable bind cpu set

Affects bind_to_cpu_set::bind_to_cpu_set

default = async-cancel, bytes, macros, utils

These default features are set whenever frosty is added without default-features = false somewhere in the dependency tree.

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.

bytes default
flume sync?

Enables flume ^0.10

frosty-macros macros
lazy_static sync?
nix utils

Enables nix ^0.23