-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
46 lines (41 loc) · 1.41 KB
/
Cargo.toml
File metadata and controls
46 lines (41 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "dtoolkit"
version = "0.1.1"
edition = "2024"
license = "Apache-2.0 OR MIT"
rust-version = "1.88"
description = "A library for parsing and manipulating Flattened Device Tree (FDT) blobs."
repository = "https://github.com/google/dtoolkit"
homepage = "https://github.com/google/dtoolkit"
authors = ["Mateusz Maćkowski <mmac@google.com>"]
categories = ["embedded", "encoding", "no-std::no-alloc", "parsing"]
keywords = ["device-tree", "fdt", "dtb", "dts", "parser"]
readme = "README.md"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = []
write = ["dep:indexmap", "dep:twox-hash"]
[dependencies]
indexmap = { version = "2", optional = true, default-features = false }
thiserror = { version = "2", default-features = false }
twox-hash = { version = "2", optional = true, features = ["xxhash64"], default-features = false }
zerocopy = { version = "0.8.28", features = ["derive"] }
[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"
[lints.clippy]
all = { level = "deny", priority = -1 }
pedantic = { level = "warn", priority = -1 }
undocumented_unsafe_blocks = "deny"
unwrap_used = "warn"