-
Notifications
You must be signed in to change notification settings - Fork 271
Expand file tree
/
Copy pathCargo.toml
More file actions
66 lines (57 loc) · 1.98 KB
/
Copy pathCargo.toml
File metadata and controls
66 lines (57 loc) · 1.98 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
[package]
name = "nydus-service"
version = "0.4.0"
description = "Nydus Image Service Manager"
authors = ["The Nydus Developers"]
license = "Apache-2.0"
homepage = "https://nydus.dev/"
repository = "https://github.com/dragonflyoss/nydus"
edition = "2021"
resolver = "2"
[dependencies]
bytes = { version = "1", optional = true }
dbs-allocator = { version = "0.1.1", optional = true }
fuse-backend-rs = { workspace = true, features = ["persist"] }
libc = "0.2"
log = "0.4.8"
mio = { version = "0.8", features = ["os-poll", "os-ext"] }
nix = "0.24.0"
rust-fsm = "0.6.0"
serde = { version = "1.0.110", features = ["serde_derive", "rc"] }
serde_json = "1.0.51"
thiserror = "2.0"
time = { version = "0.3.14", features = ["serde-human-readable"] }
tokio = { version = "1.24", features = ["macros"] }
versionize_derive = "0.1.6"
versionize = "0.2.0"
nydus-api = { version = "0.4.0", path = "../api" }
nydus-rafs = { version = "0.4.0", path = "../rafs" }
nydus-storage = { version = "0.7.1", path = "../storage" }
nydus-upgrade = { version = "0.2.0", path = "../upgrade" }
nydus-utils = { version = "0.5.0", path = "../utils" }
vhost = { workspace = true, features = ["vhost-user"], optional = true }
vhost-user-backend = { workspace = true, optional = true }
virtio-bindings = { workspace = true, features = [
"virtio-v5_0_0",
], optional = true }
virtio-queue = { workspace = true, optional = true }
vm-memory = { workspace = true, features = ["backend-mmap"], optional = true }
[target.'cfg(target_os = "linux")'.dependencies]
tokio-uring = "0.4"
[dev-dependencies]
vmm-sys-util = { workspace = true }
[target.'cfg(target_os = "linux")'.dev-dependencies]
procfs = "0.18.0"
[features]
default = ["fuse-backend-rs/fusedev"]
virtiofs = [
"fuse-backend-rs/vhost-user-fs",
"vm-memory",
"vhost",
"vhost-user-backend",
"virtio-queue",
"virtio-bindings",
]
block-device = ["dbs-allocator", "tokio/fs"]
block-nbd = ["block-device", "bytes"]
coco = ["fuse-backend-rs/fusedev", "nydus-storage/backend-registry"]