# 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 = "arceos-helloworld"
version = "0.4.7"
authors = [
    "Yuekai Jia <equation618@gmail.com>",
    "Yu Chen <yuchen@tsinghua.edu.cn>",
]
build = "build.rs"
include = [
    "src/**",
    "build.rs",
    "configs/**",
    "xtask/src/**",
    ".cargo/config.toml",
    "rust-toolchain.toml",
    "README.md",
    "LICENSE*",
    "exercise/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A simple helloworld crate (from crates.io) for ArceOS"
homepage = "https://github.com/arceos-org/app-helloworld"
readme = "README.md"
keywords = [
    "arceos",
    "example",
]
categories = [
    "os",
    "no-std",
]
license = "GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0"
repository = "https://github.com/arceos-org/app-helloworld/tree/dev"

[features]
axstd = ["dep:axstd"]
default = ["axstd"]
xtask = ["dep:clap"]

[[bin]]
name = "arceos-helloworld"
path = "src/main.rs"

[[bin]]
name = "xtask"
path = "xtask/src/main.rs"
required-features = ["xtask"]

[dependencies.axstd]
version = "=0.3.0-preview.1"
features = ["defplat"]
optional = true

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

[profile.release]
