[package]
edition = "2024"
rust-version = "1.88"
name = "aev-vm"
version = "0.2.0"
authors = [
"Trevor Knott",
"Knott Dynamics",
]
build = "build.rs"
include = [
"/src/**",
"/build.rs",
"/Cargo.lock",
"/README.md",
"/docs/**",
"/LICENSE-*",
"/vendor/aen-window/",
]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "aev-vm"
description = "Manage QEMU virtual machines in Rust and open their consoles in Aen"
readme = "README.md"
keywords = [
"virtualization",
"qemu",
"kvm",
"aen",
]
categories = [
"command-line-utilities",
"emulators",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Tknott95/KnottVM"
[features]
developer-tools = []
legacy-cli = []
[lib]
name = "aev_vm"
path = "src/lib.rs"
[[bin]]
name = "aev-vm"
path = "src/main.rs"
[[bin]]
name = "knottvm"
path = "src/bin/knottvm.rs"
required-features = ["legacy-cli"]
[[bin]]
name = "knottvm-console-socket"
path = "src/bin/knottvm-console-socket.rs"
required-features = ["developer-tools"]
[dependencies.ab_glyph]
version = "0.2.32"
[dependencies.anyhow]
version = "1.0"
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.fs2]
version = "0.4"
[dependencies.libc]
version = "0.2"
[dependencies.rustix]
version = "1.1"
features = ["fs"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.10"
[dependencies.tempfile]
version = "3.20"
[dependencies.toml]
version = "0.9"
[dependencies.uuid]
version = "1.18"
features = [
"serde",
"v4",
]
[dev-dependencies.pretty_assertions]
version = "1.4"
[lints.clippy]
missing_errors_doc = "allow"
too_many_lines = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"
[profile.release]
lto = "thin"
codegen-units = 1
strip = "debuginfo"