ostd 0.17.1

Rust OS framework that facilitates the development of and innovation in OS kernels
Documentation
# 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 = "ostd"
version = "0.17.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust OS framework that facilitates the development of and innovation in OS kernels"
documentation = "https://asterinas.github.io/api-docs"
readme = "README.md"
license = "MPL-2.0"
repository = "https://github.com/asterinas/asterinas"
resolver = "2"

[package.metadata.docs.rs]
default-target = "x86_64-unknown-none"
targets = ["x86_64-unknown-none"]

[features]
coverage = ["minicov"]
cvm_guest = [
    "dep:tdx-guest",
    "dep:iced-x86",
]
default = ["cvm_guest"]
riscv_sv39_mode = []

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

[dependencies.align_ext]
version = "0.1.0"

[dependencies.bit_field]
version = "0.10.1"

[dependencies.bitflags]
version = "1.3"

[dependencies.bitvec]
version = "1.0.1"
features = ["alloc"]
default-features = false

[dependencies.cfg-if]
version = "1.0"

[dependencies.gimli]
version = "0.28"
features = ["read-core"]
default-features = false

[dependencies.id-alloc]
version = "0.1.0"

[dependencies.inherit-methods-macro]
version = "0.1.0"

[dependencies.int-to-c-enum]
version = "0.1.0"

[dependencies.intrusive-collections]
version = "0.9.6"
features = ["nightly"]

[dependencies.linux-boot-params]
version = "0.17.1"

[dependencies.log]
version = "0.4"

[dependencies.minicov]
version = "0.3"
optional = true

[dependencies.num-traits]
version = "0.2"
default-features = false

[dependencies.ostd-macros]
version = "0.17.1"

[dependencies.ostd-pod]
version = "0.4.0"

[dependencies.ostd-test]
version = "0.17.1"

[dependencies.smallvec]
version = "1.13.2"

[dependencies.spin]
version = "0.9.4"

[dependencies.volatile]
version = "0.6.1"

[dependencies.zerocopy]
version = "0.8.34"
features = ["derive"]

[target.loongarch64-unknown-none-softfloat.dependencies.fdt]
version = "0.1.5"
features = ["pretty-printing"]

[target.loongarch64-unknown-none-softfloat.dependencies.loongArch64]
version = "0.2.5"

[target.riscv64imac-unknown-none-elf.dependencies.fdt]
version = "0.1.5"
features = ["pretty-printing"]

[target.riscv64imac-unknown-none-elf.dependencies.riscv]
version = "0.15.0"
features = ["s-mode"]

[target.riscv64imac-unknown-none-elf.dependencies.sbi-rt]
version = "0.0.3"

[target.riscv64imac-unknown-none-elf.dependencies.unwinding]
version = "=0.2.8"
features = [
    "fde-static",
    "hide-trace",
    "panic",
    "personality",
    "unwinder",
]
default-features = false

[target.x86_64-unknown-none.dependencies.acpi]
version = "=5.2.0"

[target.x86_64-unknown-none.dependencies.iced-x86]
version = "1.21.0"
features = [
    "no_std",
    "decoder",
    "gas",
]
optional = true
default-features = false

[target.x86_64-unknown-none.dependencies.multiboot2]
version = "0.24.0"

[target.x86_64-unknown-none.dependencies.tdx-guest]
version = "0.2.4"
optional = true

[target.x86_64-unknown-none.dependencies.unwinding]
version = "=0.2.8"
features = [
    "fde-gnu-eh-frame-hdr",
    "hide-trace",
    "panic",
    "personality",
    "unwinder",
]
default-features = false

[target.x86_64-unknown-none.dependencies.x86]
version = "0.52.0"

[target.x86_64-unknown-none.dependencies.x86_64]
version = "0.14.13"

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

[lints.rust]
unsafe_op_in_unsafe_fn = "warn"

[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = ["cfg(ktest)"]