# 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"
name = "axvmconfig"
version = "0.8.1"
authors = [
    "Keyang Hu <keyang.hu@qq.com>",
    "Mingxian Su <aarkegz@gmail.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple VM configuration tool for ArceOS-Hypervisor."
readme = "README.md"
keywords = [
    "axvisor",
    "config",
    "toml",
]
license = "Apache-2.0"
repository = "https://github.com/arceos-hypervisor/axvmconfig"

[features]
default = ["std"]
std = [
    "dep:clap",
    "dep:env_logger",
    "dep:schemars",
]

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

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

[dependencies.ax-errno]
version = "0.6.1"

[dependencies.axvm-types]
version = "0.7.0"

[dependencies.log]
version = "0.4.21"

[dependencies.serde]
version = "1.0.204"
features = ["derive"]
default-features = false

[dependencies.serde_repr]
version = "0.1"

[dependencies.toml]
version = "0.9.5"
features = [
    "serde",
    "parse",
    "display",
]
default-features = false

[target."cfg(any(windows, unix))".dependencies.clap]
version = "4.5.23"
features = ["derive"]
optional = true

[target."cfg(any(windows, unix))".dependencies.env_logger]
version = "0.11.3"
optional = true

[target."cfg(any(windows, unix))".dependencies.schemars]
version = "1.1.0"
optional = true
