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 wheneverclose_already
is added without
somewhere in the dependency tree.default-features = false - 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