# 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 = "fdt-edit"
version = "0.1.5"
authors = ["周睿 <zrufo747@outlook.com>"]
build = false
exclude = [
    ".git*",
    "*.md",
    "tests/",
]
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"
documentation = "https://docs.rs/fdt-edit"
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"
resolver = "2"

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

[[example]]
name = "fdt_debug_demo"
path = "examples/fdt_debug_demo.rs"

[dependencies.enum_dispatch]
version = "0.3.13"

[dependencies.fdt-raw]
version = "0.1.0"

[dependencies.log]
version = "0.4"

[dev-dependencies.env_logger]
version = "0.11"
