-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
38 lines (34 loc) · 971 Bytes
/
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
[package]
name = "pcal6416a"
version = "0.1.0"
repository = "https://github.com/OpenDevicePartnership/pcal6416a"
license = "MIT"
description = "Platform-agnostic Rust driver for the Texas Instruments BQ25773 battery charge controller."
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 = "2021"
[dependencies]
device-driver = { version = "1.0.3", default-features = false, features = ["yaml"] }
defmt = { version = "0.3", optional = true }
embedded-hal = "1.0.0"
embedded-hal-async = "1.0.0"
[lints.rust]
unsafe_code = "forbid"
missing_docs = "deny"
[lints.clippy]
correctness = "forbid"
suspicious = "forbid"
perf = "forbid"
style = "forbid"
pedantic = "deny"
[features]
defmt-03 = ["dep:defmt", "device-driver/defmt-03"]