-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
33 lines (27 loc) · 933 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
[package]
name = "sgp40"
version = "1.0.0"
authors = ["Mikko Jaakkola <mikko.la.jaakkola@gmail.com>"]
license = "MIT OR Apache-2.0"
description = "Rust driver for the Sensirion SGP40 gas sensor."
readme = "README.md"
repository = "https://github.com/mjaakkol/sgp40-rs"
keywords = ["sgp40", "sensirion", "driver", "voc", "embedded-hal-driver"]
categories = ["embedded", "hardware-support", "no-std"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["voc_index"]
voc_index = []
[dependencies]
sensirion-i2c = "0.2"
embedded-hal = { version = "1.0.0" }
fixed = "1"
fixed-sqrt = "0.2"
[dev-dependencies]
linux-embedded-hal = "0.4"
embedded-hal-mock = { version = "0.10", features = ["eh1"] }
[patch.crates-io]
sensirion-i2c = { git = "https://github.com/LechevSpace/sensirion-i2c", branch = "feat/embedded-hal-1" }
[profile.release]
lto = true