forked from fenax/sh1107
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
46 lines (39 loc) · 1.15 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
[package]
authors = ["aaron-hardin <[email protected]>", "James Waples <[email protected]>"]
categories = ["embedded", "no-std"]
description = "I2C/SPI driver for the SH1107 OLED display controller"
documentation = "https://docs.rs/sh1107"
exclude = [".travis.yml", ".gitignore"]
keywords = ["no-std", "sh1107", "oled", "embedded", "embedded-hal-driver"]
license = "MIT OR Apache-2.0"
name = "sh1107"
readme = "README.md"
repository = "https://github.com/aaron-hardin/sh1107"
version = "0.3.5"
edition = "2018"
[package.metadata.docs.rs]
targets = [ "thumbv7m-none-eabi", "thumbv7em-none-eabihf" ]
[dependencies]
embedded-hal = "0.2.3"
[dependencies.embedded-graphics]
optional = true
version = "0.7.1"
[dev-dependencies]
cortex-m = { version = "0.7" }
cortex-m-rt = { version = "0.7.1" }
panic-semihosting = "0.6.0"
panic-reset = "0.1"
stm32f4xx-hal = { version = "0.13.2", features = ["rt", "stm32f405"] }
[dev-dependencies.stm32f1xx-hal]
version = "0.9.0"
features = [ "rt", "stm32f103" ]
[features]
default = ["graphics"]
graphics = ["embedded-graphics"]
[profile.dev]
codegen-units = 1
incremental = false
[profile.release]
codegen-units = 1
debug = true
lto = true