-
Notifications
You must be signed in to change notification settings - Fork 171
Expand file tree
/
Copy pathCargo.toml
More file actions
90 lines (76 loc) · 2.24 KB
/
Cargo.toml
File metadata and controls
90 lines (76 loc) · 2.24 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
81
82
83
84
85
86
87
88
89
90
[workspace]
members = [".", "fuser-tests"]
[workspace.package]
edition = "2024"
rust-version = "1.85"
authors = ["Christopher Berner <me@cberner.com>"]
license = "MIT"
repository = "https://github.com/cberner/fuser"
[package]
name = "fuser"
description = "Filesystem in Userspace (FUSE) for Rust"
license.workspace = true
repository.workspace = true
documentation = "https://docs.rs/fuser"
homepage = "https://github.com/cberner/fuser"
version = "0.17.0"
edition.workspace = true
rust-version.workspace = true
readme = "README.md"
authors.workspace = true
keywords = ["fuse", "filesystem", "system", "bindings"]
categories = ["external-ffi-bindings", "api-bindings", "filesystem", "os::unix-apis"]
build = "build.rs"
[dependencies]
bitflags = "2.9"
libc = "0.2.51"
log = "0.4.6"
memchr = "2.7.2"
num_enum = "0.7.5"
page_size = "0.6.0"
parking_lot = "0.12"
ref-cast = "1.0.25"
serde = { version = "1.0.102", features = ["std", "derive"], optional = true }
smallvec = "1.6.1"
async-trait = { version = "0.1", optional = true }
tokio = { version = "1.48.0", features = ["rt", "rt-multi-thread"], optional = true }
zerocopy = { version = "0.8", features = ["derive"] }
nix = { version = "0.30.0", features = ["fs", "user", "poll", "socket", "uio", "mount", "process", "ioctl"] }
[dev-dependencies]
env_logger = "0.11.7"
clap = { version = "4.4", features = ["cargo", "derive"] }
bincode = "1.3.1"
serde = { version = "1.0.102", features = ["std", "derive"] }
tempfile = "3.10.1"
nix = { version = "0.30.0", features = ["poll", "fs", "ioctl"] }
[build-dependencies]
pkg-config = "0.3.14"
[features]
default = []
experimental = ["async-trait", "tokio"]
libfuse = []
libfuse2 = ["libfuse"]
libfuse3 = ["libfuse"]
serializable = ["serde"]
macfuse-4-compat = []
# Disable mount implementations. Code will compile but won't work.
# Can be used like this on Linux to check macOS code compiles:
# cargo check --target x86_64-apple-darwin --features=macos-no-mount
macos-no-mount = []
[[example]]
name = "async_hello"
required-features = ["experimental"]
[[example]]
name = "poll"
[[example]]
name = "poll_client"
[[example]]
name = "notify_inval_entry"
[[example]]
name = "notify_inval_inode"
[[example]]
name = "ioctl"
[[example]]
name = "passthrough"
[[example]]
name = "passthrough_fork"