Cargo Features
[dependencies]
nydus-rs = { version = "2.2.0", default-features = false, features = ["virtiofs", "backend-http-proxy", "backend-localdisk", "backend-oss", "backend-registry", "backend-s3"] }
- default = backend-http-proxy, backend-localdisk, backend-oss, backend-registry, backend-s3
-
These default features are set whenever
nydus-rs
is added without
somewhere in the dependency tree.default-features = false Enables fusedev of fuse-backend-rs ^0.10.1
- virtiofs = vhost, vhost-user-backend, virtio-bindings, virtio-queue, vm-memory
-
Enables virtiofs of nydus-service ^0.2.0
- backend-http-proxy default
-
Enables backend-http-proxy of nydus-storage
- backend-localdisk default
-
Enables backend-localdisk of nydus-storage
- backend-oss default
-
Enables backend-oss of nydus-storage
- backend-registry default
-
Enables backend-registry of nydus-storage
- backend-s3 default
-
Enables backend-s3 of nydus-storage
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- vhost virtiofs?
-
Enables vhost ^0.5.0
- vhost-user-backend virtiofs?
-
Enables vhost-user-backend ^0.7.0
- virtio-bindings virtiofs?
-
Enables virtio-bindings ^0.1
- virtio-queue virtiofs?
-
Enables virtio-queue ^0.6.0
- vm-memory virtiofs?
-
Enables vm-memory ^0.9.0