-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
43 lines (38 loc) · 1.34 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[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 <[email protected]>"]
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