# 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 = "osdk-frame-allocator"
version = "0.17.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The default buddy system frame allocator shipped with OSDK."
readme = "README.md"
license = "MPL-2.0"
repository = "https://github.com/asterinas/asterinas"
resolver = "2"

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

[dependencies.ostd]
version = "0.17.2"

[dependencies.paste]
version = "1.0.15"

[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)"]
