-
Notifications
You must be signed in to change notification settings - Fork 125
Expand file tree
/
Copy pathCargo.toml
More file actions
80 lines (67 loc) · 2.18 KB
/
Copy pathCargo.toml
File metadata and controls
80 lines (67 loc) · 2.18 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
[package]
name = "compio-fs"
version = "0.12.1"
description = "Filesystem IO for compio"
categories = ["asynchronous", "filesystem"]
keywords = ["async", "fs"]
readme = "README.md"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
targets = [
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
"aarch64-apple-darwin",
]
[dependencies]
# Workspace dependencies
compio-buf = { workspace = true }
compio-driver = { workspace = true }
compio-io = { workspace = true }
compio-runtime = { workspace = true, features = ["async-fd"] }
futures-util = { workspace = true }
pin-project-lite = { workspace = true }
# Windows specific dependencies
[target.'cfg(windows)'.dependencies]
widestring = { workspace = true }
windows-sys = { workspace = true, features = [
"Win32_Foundation",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_Pipes",
"Win32_System_SystemServices",
] }
cap-primitives = { version = "4.0.0", optional = true }
# Windows specific dev dependencies
[target.'cfg(windows)'.dev-dependencies]
windows-sys = { workspace = true, features = ["Win32_Security_Authorization"] }
# Unix specific dependencies
[target.'cfg(unix)'.dependencies]
libc = { workspace = true }
rustix = { workspace = true, features = ["stdio", "fs"] }
[build-dependencies]
cfg_aliases = { workspace = true }
# Shared dev dependencies for all platforms
[dev-dependencies]
compio-runtime = { workspace = true, features = ["time"] }
compio-macros = { workspace = true }
futures-util = { workspace = true }
tempfile = { workspace = true }
# Windows specific dev dependencies
[target.'cfg(target_os = "windows")'.dev-dependencies]
windows-sys = { workspace = true, features = ["Win32_Security_Authorization"] }
# Unix specific dev dependencies
[target.'cfg(unix)'.dev-dependencies]
nix = { workspace = true, features = ["fs"] }
compio-net = { workspace = true }
[features]
dir = ["dep:cap-primitives"]
read_buf = ["compio-buf/read_buf", "compio-io/read_buf"]
windows_by_handle = []
nightly = ["read_buf", "windows_by_handle"]
[[test]]
name = "dir"
required-features = ["dir"]