dtoolkit 0.1.0

A library for parsing and manipulating Flattened Device Tree (FDT) blobs.
Documentation
[dependencies.indexmap]
default-features = false
optional = true
version = "2"

[dependencies.thiserror]
default-features = false
version = "2"

[dependencies.twox-hash]
default-features = false
features = ["xxhash64"]
optional = true
version = "2"

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

[features]
default = []
write = ["dep:indexmap", "dep:twox-hash"]

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

[lints.clippy]
undocumented_unsafe_blocks = "deny"
unwrap_used = "warn"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
deprecated-safe = "warn"
keyword-idents = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "deny"
unstable_features = "warn"
unused_import_braces = "warn"
unused_qualifications = "warn"

[package]
authors = ["Mateusz Maćkowski <mmac@google.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["embedded", "encoding", "no-std::no-alloc", "parsing"]
description = "A library for parsing and manipulating Flattened Device Tree (FDT) blobs."
edition = "2024"
homepage = "https://github.com/google/dtoolkit"
keywords = ["device-tree", "fdt", "dtb", "dts", "parser"]
license = "Apache-2.0 OR MIT"
name = "dtoolkit"
readme = "README.md"
repository = "https://github.com/google/dtoolkit"
rust-version = "1.88"
version = "0.1.0"

[[test]]
name = "fdt"
path = "tests/fdt.rs"

[[test]]
name = "memreserve"
path = "tests/memreserve.rs"

[[test]]
name = "model"
path = "tests/model.rs"