-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
43 lines (38 loc) · 1.11 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
[package]
name = "tcs3472"
version = "1.0.0"
authors = ["Diego Barrios Romero <eldruin@gmail.com>"]
repository = "https://github.com/eldruin/tcs3472-rs"
license = "MIT OR Apache-2.0"
description = "Platform-agnostic Rust driver for the TCS3472 RGB color light to digital converter with IR filter."
readme = "README.md"
keywords = ["color", "sensor", "i2c", "driver", "embedded-hal-driver"]
categories = ["embedded", "hardware-support", "no-std"]
homepage = "https://github.com/eldruin/tcs3472-rs"
documentation = "https://docs.rs/tcs3472"
edition = "2021"
include = [
"/**/*.rs",
"/Cargo.toml",
"/README.md",
"/CHANGELOG.md",
"/LICENSE-MIT",
"/LICENSE-APACHE",
]
[features]
default = []
async = ["dep:embedded-hal-async"]
[dependencies]
embedded-hal = "1.0"
embedded-hal-async = { version = "1.0", optional = true }
maybe-async-cfg = "0.2.3"
[dev-dependencies]
linux-embedded-hal = "0.4"
embedded-hal-mock = { version = "0.10", default-features = false, features = ["eh1"] }
embassy-executor = "0.6.3"
[profile.release]
lto = true
[[example]]
name = "embassy"
path = "examples/embassy.rs"
required-features = ["async"]