-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
64 lines (52 loc) · 1.58 KB
/
Cargo.toml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[workspace]
members = ["deforest_derive"]
[workspace.lints.rust]
rust_2018_idioms = { level = "warn", priority = -1 }
macro_use_extern_crate = "warn"
meta_variable_misuse = "warn"
missing_abi = "warn"
redundant_lifetimes = "warn"
unnameable_types = "warn"
unreachable_pub = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
[workspace.lints.rustdoc]
unescaped_backticks = "warn"
[package]
name = "deforest"
version = "0.3.2"
edition = "2021"
rust-version = "1.82.0"
description = "efficient `#![no_std]` parser for devicetree blobs"
repository = "https://github.com/kadiwa4/deforest"
license = "MIT"
keywords = ["devicetree", "device-tree", "parser"]
categories = ["embedded", "no-std::no-alloc", "hardware-support", "parser-implementations"]
include = ["/README.md", "/src", "/examples", "/tests"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package.metadata.docs.rs]
all-features = true
[[example]]
name = "borrowed_model"
crate-type = ["lib"]
test = true
required-features = ["derive"]
[[example]]
name = "owned_model"
crate-type = ["lib"]
test = true
required-features = ["alloc", "derive"]
[[test]]
name = "test"
required-features = ["alloc"]
[dependencies]
ascii = { version = "1.1.0", default-features = false }
deforest_derive = { path = "deforest_derive", version = "=0.3.0", optional = true }
fallible-iterator = { version = "0.3.0", default-features = false }
zerocopy = { version = "0.8.7", features = ["derive"] }
[features]
alloc = ["fallible-iterator/alloc"]
derive = ["deforest_derive"]
model = []
[lints]
workspace = true