-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
40 lines (36 loc) · 1.12 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
[package]
name = "veml7700"
version = "0.2.0"
edition = "2021"
categories = ["embedded", "hardware-support", "no-std"]
authors = [
"Diego Barrios Romero <eldruin@gmail.com>",
"Boris Vinogradov <no111u3@gmail.com>",
]
description = "Platform-agnostic Rust driver for the VEML7700 High Accuracy Ambient Light Sensor"
documentation = "https://docs.rs/veml7700"
keywords = ["als", "ambient", "light", "sensor", "embedded-hal-driver"]
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/no111u3/veml7700"
exclude = ["memory.x", ".cargo", "Embed.toml"]
[features]
default = ["lux_as_f32"]
lux_as_f32 = ["micromath"]
lux_as_u32 = []
[dependencies]
embedded-hal = "1.0.0"
micromath = { version = "2.0", optional = true }
[dev-dependencies]
cortex-m = "0.7.7"
cortex-m-rt = "0.7.3"
panic-halt = "0.2.0"
stm32f4xx-hal = { version = "0.20.0", features = ["stm32f401"] }
rtt-target = "0.5.0"
# panic-rtt-target = { version = "0.1.0", features = ["cortex-m"] }
[profile.release]
# Many of these settings are highly recommended or required for embedded work
codegen-units = 1
incremental = false
debug = true
lto = true