[package]
edition = "2024"
name = "fdt-edit"
version = "0.2.2"
authors = ["周睿 <zrufo747@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A high-level library for creating, editing, and encoding Flattened Device Tree (FDT) structures"
homepage = "https://github.com/drivercraft/fdt-parser"
readme = "README.md"
keywords = [
"device-tree",
"dtb",
"embedded",
"no-std",
"editor",
]
categories = [
"embedded",
"no-std",
"hardware-support",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/drivercraft/fdt-parser"
[package.metadata.docs.rs]
all-features = true
targets = [
"x86_64-unknown-linux-gnu",
"aarch64-unknown-none-softfloat",
"riscv64gc-unknown-none-elf",
]
[features]
default = []
std = []
[lib]
name = "fdt_edit"
path = "src/lib.rs"
[[test]]
name = "clock"
path = "tests/clock.rs"
[[test]]
name = "encode"
path = "tests/encode.rs"
[[test]]
name = "fdt"
path = "tests/fdt.rs"
[[test]]
name = "pci"
path = "tests/pci.rs"
[[test]]
name = "range"
path = "tests/range.rs"
[[test]]
name = "rebuild"
path = "tests/rebuild.rs"
[dependencies.enum_dispatch]
version = "0.3"
[dependencies.fdt-raw]
version = "0.3"
[dependencies.log]
version = "0.4"
[dev-dependencies.env_logger]
version = "0.11"