mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-19 05:50:41 +08:00
50 lines
1.5 KiB
TOML
50 lines
1.5 KiB
TOML
# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
[package]
|
|
name = "openshell-driver-vm"
|
|
description = "MicroVM compute driver for OpenShell"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
|
|
[lib]
|
|
name = "openshell_driver_vm"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "openshell-driver-vm"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
openshell-core = { path = "../openshell-core" }
|
|
|
|
tokio = { workspace = true }
|
|
tonic = { workspace = true, features = ["transport"] }
|
|
prost-types = { workspace = true }
|
|
futures = { workspace = true }
|
|
tokio-stream = { workspace = true, features = ["net"] }
|
|
nix = { workspace = true }
|
|
clap = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true }
|
|
miette = { workspace = true }
|
|
url = { workspace = true }
|
|
libc = "0.2"
|
|
libloading = "0.8"
|
|
tar = "0.4"
|
|
zstd = "0.13"
|
|
|
|
# smol-rs/polling drives the BSD/macOS parent-death detection in
|
|
# procguard via kqueue's EVFILT_PROC / NOTE_EXIT filter. We could use
|
|
# it on Linux too (via epoll + pidfd) but sticking with
|
|
# nix::sys::prctl::set_pdeathsig there keeps the Linux path a single
|
|
# syscall with no helper thread.
|
|
[target.'cfg(any(target_os = "macos", target_os = "ios", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd", target_os = "dragonfly"))'.dependencies]
|
|
polling = "3.11"
|
|
|
|
[lints]
|
|
workspace = true
|