-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
49 lines (43 loc) · 1.38 KB
/
Cargo.toml
File metadata and controls
49 lines (43 loc) · 1.38 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
47
48
49
[package]
name = "pcal6416a"
version = "0.3.0"
repository = "https://github.com/OpenDevicePartnership/pcal6416a"
license = "MIT"
description = "Platform-agnostic Rust driver for the NXP PCAL6416A I/O expander."
readme = "README.md"
keywords = ["pcal6416a", "nxp", "io-expander", "i2c", "embedded-hal-driver"]
categories = ["embedded", "hardware-support", "no-std"]
documentation = "https://docs.rs/pcal6416a"
include = [
"/**/*.rs",
"/Cargo.toml",
"/README.md",
"/LICENSE",
"/device.yaml",
]
edition = "2024"
[dependencies]
device-driver = { version = "1.0.7", default-features = false, features = ["yaml"] }
defmt = { version = "1.0", optional = true }
embedded-hal = "1.0.0"
embedded-hal-async = "1.0.0"
embassy-sync = "0.7.2"
[dev-dependencies]
embedded-hal-mock = { version = "0.11.1", features = ["embedded-hal-async"] }
tokio = { version = "1.42.0", features = ["rt", "macros"] }
embassy-sync = { version = "0.7.2", features = ["std"] }
critical-section = { version = "1.2", features = ["std"] }
[lints.rust]
unsafe_code = "forbid"
missing_docs = "deny"
[lints.clippy]
correctness = "forbid"
suspicious = "forbid"
perf = "forbid"
style = "forbid"
pedantic = "deny"
[features]
defmt = ["dep:defmt", "device-driver/defmt-03"]
[patch.crates-io]
embedded-hal = {git = "https://github.com/rust-embedded/embedded-hal.git"}
embedded-hal-async = {git = "https://github.com/rust-embedded/embedded-hal.git"}