arceos-userprivilege 0.4.6

User privilege mode execution for ArceOS: loads and runs a user-space app with syscall handling
# 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-userprivilege"
version = "0.4.6"
authors = ["Yu Chen <yuchen@tsinghua.edu.cn>"]
build = "build.rs"
include = [
    "src/**",
    "build.rs",
    "configs/**",
    "payload/**",
    "xtask/src/**",
    ".cargo/config.toml",
    "rust-toolchain.toml",
    "README.md",
    "LICENSE*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "User privilege mode execution for ArceOS: loads and runs a user-space app with syscall handling"
homepage = "https://github.com/arceos-org/app-userprivilege"
readme = "README.md"
keywords = [
    "arceos",
    "uspace",
    "syscall",
    "privilege",
    "os",
]
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-userprivilege/tree/dev"

[features]
axstd = [
    "dep:axstd",
    "dep:axfeat",
    "dep:axfs",
    "dep:axio",
    "dep:axmm",
    "dep:axhal",
    "dep:axsync",
    "dep:axtask",
    "dep:axlog",
    "dep:axerrno",
    "dep:memory_addr",
]
default = []
payload = []
xtask = [
    "dep:clap",
    "dep:fatfs",
]

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

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

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

[dependencies.axerrno]
version = "0.1"
optional = true

[dependencies.axfeat]
version = "0.2.2-preview.1"
features = [
    "fs",
    "fs-fat",
]
optional = true

[dependencies.axfs]
version = "0.2.2-preview.1"
features = ["fat"]
optional = true

[dependencies.axhal]
version = "0.2.2-preview.3"
features = ["uspace"]
optional = true

[dependencies.axio]
version = "0.3.0-pre.1"
optional = true

[dependencies.axlog]
version = "0.2.2-preview.1"
optional = true

[dependencies.axmm]
version = "0.2.2-preview.1"
features = ["copy"]
optional = true

[dependencies.axstd]
version = "0.2.2-preview.1"
features = [
    "defplat",
    "alloc",
    "paging",
    "multitask",
    "sched-cfs",
    "uspace",
]
optional = true

[dependencies.axsync]
version = "0.2.2-preview.1"
optional = true

[dependencies.axtask]
version = "0.2.2-preview.3"
optional = true

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

[dependencies.fatfs]
version = "0.3.6"
optional = true

[dependencies.memory_addr]
version = "0.4"
optional = true

[profile.release]
opt-level = "z"
lto = true
panic = "abort"