Cargo Features

[dependencies]
close_already = { version = "0.3.3", default-features = false, features = ["backend-async-std", "backend-blocking", "backend-rayon", "backend-smol", "backend-threadpool", "backend-tokio"] }
default = backend-threadpool

The backend-threadpool feature is set by default whenever close_already is added without default-features = false somewhere in the dependency tree.

backend-async-std

Enables async-std

Backends

backend-blocking

Enables blocking

backend-rayon

Enables rayon

backend-smol

Enables smol

backend-threadpool default

Enables threadpool

backend-tokio

Enables tokio

Have to include io-util so we can get Async{Read,Write}Ext through feature unification Have to include macros so we can get tokio::test for miri