[package] name = "close_already" description = "Speeds up programs writing lots of files on Windows" categories = ["filesystem", "concurrency"] keywords = ["windows", "fs", "file", "files", "handle"] version = "0.3.3" edition = "2021" authors = ["alpha-tango-kilo "] license = "MIT OR Apache-2.0" repository = "https://codeberg.org/alpha-tango-kilo/close_already" [features] default = ["backend-threadpool"] backend-async-std = ["dep:async-std"] backend-blocking = ["dep:blocking"] backend-rayon = ["dep:rayon"] backend-smol = ["dep:smol"] backend-threadpool = ["dep:threadpool"] backend-tokio = ["dep:tokio"] [dependencies] mutually_exclusive_features = "0.1" # Backends async-std = { version = "1", optional = true } blocking = { version = "1.2", optional = true } rayon = { version = "1", optional = true } smol = { version = "2", optional = true } tokio = { version = "1.23.1", features = ["rt", "fs"], optional = true } threadpool = { version = "1.7", optional = true } [dev-dependencies] criterion = "0.5" tempfile = "3" # 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 tokio = { version = "1.23.1", features = ["io-util", "macros"] } [package.metadata.docs.rs] default-target = "x86_64-pc-windows-msvc" [[bench]] name = "criterion" harness = false