[package]
authors = ["周睿 <zrufo747@outlook.com>"]
categories = ["embedded", "no-std", "hardware-support"]
description = "A high-level library for creating, editing, and encoding Flattened Device Tree (FDT) structures"
documentation = "https://docs.rs/fdt-edit"
edition = "2024"
exclude = [".git*", "*.md", "tests/"]
homepage = "https://github.com/drivercraft/fdt-parser"
keywords = ["device-tree", "dtb", "embedded", "no-std", "editor"]
license = "MIT OR Apache-2.0"
name = "fdt-edit"
readme = "README.md"
repository = "https://github.com/drivercraft/fdt-parser"
version = "0.1.5"

[dependencies]
enum_dispatch = "0.3.13"
fdt-raw = {version = "0.1.0", path = "../fdt-raw"}
log = "0.4"

[dev-dependencies]
dtb-file = {path = "../dtb-file"}
env_logger = "0.11"

[features]
default = []
std = []

[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu", "aarch64-unknown-none-softfloat", "riscv64gc-unknown-none-elf"]
