[package]
edition = "2024"
rust-version = "1.85"
name = "oci-runner"
version = "0.1.7"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A tiny foreground libcontainer runtime and CLI"
homepage = "https://github.com/geoffsee/oci-lib"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/geoffsee/oci-lib"
resolver = "2"
[lib]
name = "oci_runner"
path = "src/lib.rs"
[[bin]]
name = "oci-runner"
path = "src/main.rs"
[[test]]
name = "run_container"
path = "tests/run_container.rs"
[dependencies.clap]
version = "4"
features = ["derive"]
[build-dependencies.cc]
version = "1"
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies.libc]
version = "0.2"
[target.'cfg(target_os = "macos")'.dependencies.block2]
version = "0.6"
[target.'cfg(target_os = "macos")'.dependencies.dispatch2]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3"
features = [
"NSArray",
"NSError",
"NSFileHandle",
"NSString",
"NSURL",
]
[target.'cfg(target_os = "macos")'.dependencies.objc2-virtualization]
version = "0.3.2"
features = [
"std",
"block2",
"dispatch2",
"VZBootLoader",
"VZLinuxBootLoader",
"VZVirtualMachine",
"VZVirtualMachineConfiguration",
"VZGenericPlatformConfiguration",
"VZGenericMachineIdentifier",
"VZPlatformConfiguration",
"VZVirtioFileSystemDeviceConfiguration",
"VZDirectoryShare",
"VZDirectorySharingDeviceConfiguration",
"VZSharedDirectory",
"VZSingleDirectoryShare",
"VZVirtioSocketDevice",
"VZVirtioSocketDeviceConfiguration",
"VZVirtioSocketConnection",
"VZSocketDevice",
"VZSocketDeviceConfiguration",
"VZNATNetworkDeviceAttachment",
"VZNetworkDeviceAttachment",
"VZNetworkDeviceConfiguration",
"VZVirtioNetworkDeviceConfiguration",
"VZVirtioEntropyDeviceConfiguration",
"VZEntropyDeviceConfiguration",
"VZSerialPortConfiguration",
"VZSerialPortAttachment",
"VZFileHandleSerialPortAttachment",
"VZVirtioConsoleDeviceSerialPortConfiguration",
]
default-features = false