-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
79 lines (67 loc) · 1.87 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
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
[package]
name = "damascus"
description = "filesystem utility crate for the Flamberg mod manager stack"
authors = ["Yato202010"]
keywords = ["filesystem", "fuse-overlayfs", "overlayfs"]
version = "0.0.6"
repository = "https://github.com/Yato202010/Damascus"
license-file = "LICENSE"
edition = "2021"
resolver = "2"
readme = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
cfg-if = "1.0"
tracing = "0.1"
[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.58.0", features = [
"Win32_Storage_FileSystem",
"Win32_Foundation",
"Win32_System_WindowsProgramming",
"Win32_Security",
] }
widestring = "1.0"
[target.'cfg(target_family="unix")'.dependencies]
nix = { version = "0.29", features = [
"user",
"mount",
"sched",
"fs",
"process",
] }
[dev-dependencies]
colored = "2.1"
temp_testdir = "0.2"
[build-dependencies]
autotools = { version = "0.2", optional = true }
cmake = { version = "0.1", optional = true }
fs_extra = { version = "1.3", optional = true }
md5 = { version = "0.7", optional = true }
serde = { version = "1.0", optional = true, features = ["derive"] }
serde_json = { version = "1.0", optional = true }
[features]
default = ["overlayfs", "fuse-overlayfs-vendored", "build-cache"]
overlayfs = []
fuse-overlayfs = []
fuse-overlayfs-vendored = ["fuse-overlayfs", "dep:autotools", "dep:fs_extra"]
build-cache = ["dep:md5", "dep:serde", "dep:serde_json"]
# WARN : experimental may be removed at any moment
unionfs-fuse = []
unionfs-fuse-vendored = ["unionfs-fuse", "dep:cmake"]
[profile.release]
lto = true
opt-level = "s"
strip = true
codegen-units = 1
[profile.dev]
lto = "thin"
[profile.bench]
lto = true
opt-level = "s"
[[test]]
name = "end2end"
path = "tests/end2end.rs"
harness = false
[package.metadata.docs.rs]
features = ["fuse-overlayfs", "overlayfs"]
no-default-features = true