Skip to content

Commit 6fbced8

Browse files
committed
freebsd: Initial commit of FreeBSD support
Note that this requires the environment variable RUST_LIBC_UNSTABLE_FREEBSD_VERSION to be set.
1 parent f463963 commit 6fbced8

File tree

9 files changed

+2322
-39
lines changed

9 files changed

+2322
-39
lines changed

Cargo.toml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,44 +11,44 @@ authors = [
1111
]
1212
readme = "README.md"
1313
license = "Apache-2.0 AND BSD-3-Clause"
14-
edition = "2018"
14+
edition = "2024"
1515
repository = "https://github.com/cloud-hypervisor/fuse-backend-rs"
1616
homepage = "https://github.com/cloud-hypervisor/"
1717
build = "build.rs"
1818

1919
[dependencies]
20-
arc-swap = "1.5"
21-
async-trait = { version = "0.1.42", optional = true }
22-
bitflags = "1.1"
23-
dbs-snapshot = { version = "1.5.2", optional = true }
24-
io-uring = { version = "0.5.8", optional = true }
25-
lazy_static = "1.4"
20+
arc-swap = "1.7"
21+
async-trait = { version = "0.1.88", optional = true }
22+
bitflags = "2.9"
23+
dbs-snapshot = { version = "1.5", optional = true }
24+
io-uring = { version = "0.7", optional = true }
25+
lazy_static = "1.5"
2626
libc = "0.2.172"
27-
log = "0.4.6"
28-
mio = { version = "0.8", features = ["os-poll", "os-ext"] }
27+
log = "0.4"
28+
mio = { version = "1.0", features = ["os-poll", "os-ext"] }
2929
nix = { version = "0.30", features = ["event", "fs", "ioctl", "mount", "poll", "uio", "user"] }
30-
radix_trie = "0.2.1"
30+
radix_trie = "0.2"
3131
tokio = { version = "1", optional = true }
32-
tokio-uring = { version = "0.4.0", optional = true }
33-
vmm-sys-util = { version = "0.12.1", optional = true }
34-
vm-memory = { version = "0.14.1", features = ["backend-mmap"] }
32+
tokio-uring = { version = "0.5", optional = true }
33+
vmm-sys-util = { version = "0.14", optional = true }
34+
vm-memory = { version = "0.16", features = ["backend-mmap"] }
3535
virtio-bindings = { version = "=0.2.4", optional = true }
36-
virtio-queue = { version = "0.12.0", optional = true }
37-
vhost = { version = "0.11.0", features = ["vhost-user","vhost-user-backend"], optional = true }
38-
versionize_derive = { version = "0.1.6", optional = true }
39-
versionize = { version = "0.2.0", optional = true }
36+
virtio-queue = { version = "0.14", optional = true }
37+
vhost = { version = "0.13", features = ["vhost-user","vhost-user-backend"], optional = true }
38+
versionize_derive = { version = "0.1", optional = true }
39+
versionize = { version = "0.2", optional = true }
4040

4141
[target.'cfg(target_os = "macos")'.dependencies]
4242
core-foundation-sys = { version = ">=0.8", optional = true }
4343

4444
[target.'cfg(target_os = "linux")'.dependencies]
4545
caps = { version = "0.5", optional = true }
46-
tokio-uring = { version = "0.4.0", optional = true }
46+
tokio-uring = { version = "0.4", optional = true }
4747

4848
[dev-dependencies]
49-
tokio-test = "0.4.2"
50-
vmm-sys-util = "0.12.1"
51-
vm-memory = { version = "0.14.1", features = ["backend-mmap", "backend-bitmap"] }
49+
tokio-test = "0.4"
50+
vmm-sys-util = "0.14"
51+
vm-memory = { version = "0.16", features = ["backend-mmap", "backend-bitmap"] }
5252

5353
[features]
5454
default = ["fusedev"]

0 commit comments

Comments
 (0)