forked from Sherlock-Holo/fuse3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
58 lines (51 loc) · 1.5 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
[package]
name = "fuse3"
version = "0.7.0"
authors = ["Sherlock Holo <sherlockya@gmail.com>"]
edition = "2021"
readme = "README.md"
keywords = ["fuse", "filesystem", "system", "bindings"]
categories = ["api-bindings", "filesystem"]
license = "MIT"
repository = "https://github.com/Sherlock-Holo/fuse3"
description = "FUSE user-space library async version implementation."
rust-version = "1.63"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = [".", "examples"]
[features]
tokio-runtime = ["tokio"]
async-std-runtime = ["async-std", "async-io"]
file-lock = []
unprivileged = ["nix/socket", "which"]
doc = ["file-lock", "unprivileged", "tokio-runtime"]
[dependencies]
futures-util = { version = "0.3", features = ["sink"] }
futures-channel = { version = "0.3", features = ["sink"] }
async-trait = "0.1"
cstr = "0.2"
libc = "0.2"
bincode = "1"
serde = { version = "1", features = ["derive"] }
nix = { version = "0.27", default-features = false, features = ["fs", "mount", "user"] }
which = { version = "4", optional = true }
async-io = { version = "1", optional = true }
bytes = "1"
slab = "0.4"
tracing = "0.1"
[dependencies.async-std]
version = "1"
features = ["unstable"]
optional = true
[dependencies.tokio]
version = "1"
features = ["fs", "rt", "sync", "net", "macros"]
optional = true
[package.metadata.docs.rs]
features = [ "doc" ]
targets = [
"i686-unknown-freebsd",
"i686-unknown-linux-gnu",
"x86_64-unknown-freebsd",
"x86_64-unknown-linux-gnu",
]