# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.85"
name = "agv"
version = "0.2.2"
authors = ["Einar Fløystad Dørum <einarfd@mailthief.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Create and manage QEMU VMs for AI agents"
homepage = "https://github.com/einarfd/agentverk"
readme = "README.md"
keywords = [
    "qemu",
    "vm",
    "cloud-init",
    "agent",
    "kvm",
]
categories = [
    "command-line-utilities",
    "development-tools",
    "virtualization",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/einarfd/agentverk"

[lib]
name = "agv"
path = "src/lib.rs"

[[bin]]
name = "agv"
path = "src/main.rs"

[[test]]
name = "cli_test"
path = "tests/cli_test.rs"

[[test]]
name = "create_test"
path = "tests/create_test.rs"

[[test]]
name = "qemu_test"
path = "tests/qemu_test.rs"

[dependencies.anstream]
version = "0.6"

[dependencies.anstyle]
version = "1"

[dependencies.anyhow]
version = "1"

[dependencies.base64]
version = "0.22"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.futures-util]
version = "0.3"

[dependencies.indicatif]
version = "0.17"

[dependencies.reqwest]
version = "0.12"
features = [
    "stream",
    "rustls-tls",
]
default-features = false

[dependencies.rustix]
version = "1"
features = ["process"]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "process",
    "io-util",
    "fs",
    "net",
    "sync",
    "signal",
]

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "fmt",
]

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.serial_test]
version = "3"

[dev-dependencies.tempfile]
version = "3"

[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"

[profile.release]
lto = true
codegen-units = 1
strip = true
