-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
54 lines (44 loc) · 1.16 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
44
45
46
47
48
49
50
51
52
53
54
[package]
authors = ["Jacob Bramley <[email protected]>"]
categories = ["embedded", "no-std", "hardware-support"]
description = "I²C driver for IST's HYT221, HYT271 and HYT939 humidity sensor modules."
name = "ist-hyt"
keywords = ["ist", "hyt", "humidity", "temperature", "embedded-hal-driver"]
version = "0.1.0"
edition = "2018"
license = "MIT"
readme = "README.md"
[package.metadata.docs.rs]
features = ["i8f24"]
targets = ["thumbv6m-none-eabi", "thumbv7m-none-eabi"]
[dependencies]
embedded-hal = "0.2.4"
[dependencies.fixed]
optional = true
version = "1.1.0"
[dev-dependencies]
cortex-m = "0.6.3"
cortex-m-rt = "0.6.12"
embedded-hal = "0.2.4"
cfg-if = "0.1.10"
[dev-dependencies.rtt-target]
version = "0.2.2"
features = ["cortex-m"]
[dev-dependencies.panic-rtt-target]
version = "0.1.1"
features = ["cortex-m"]
[dev-dependencies.lpc8xx-hal]
# The examples depend on a fix that went in after 0.8.2.
# version = "0.8.2"
git = "https://github.com/lpc-rs/lpc8xx-hal.git"
features = ["824m201jdh20"]
[profile.dev]
debug = true
# Optimise a bit so we can fit on the target.
opt-level = "z"
[profile.release]
debug = true
codegen-units = 1
opt-level = "z"
[features]
i8f24 = ["fixed"]