forked from rust-embedded-community/ssd1306
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
61 lines (50 loc) · 1.36 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
55
56
57
58
59
60
61
[package]
authors = ["James Waples <jamwaffles@gmail.com>"]
categories = ["embedded", "no-std"]
description = "I2C/SPI driver for the SSD1306 OLED display controller"
documentation = "https://docs.rs/ssd1306"
keywords = ["no-std", "ssd1306", "oled", "embedded", "embedded-hal-driver"]
license = "MIT OR Apache-2.0"
name = "ssd1306"
readme = "README.md"
repository = "https://github.com/jamwaffles/ssd1306"
version = "0.3.0-alpha.4"
edition = "2018"
[badges]
circle-ci = { repository = "jamwaffles/ssd1306", branch = "master" }
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
[dependencies]
embedded-hal = "0.2.3"
[dependencies.embedded-graphics]
optional = true
version = "=0.6.0-beta.1"
[dev-dependencies]
cortex-m = "0.6.2"
cortex-m-rt = "0.6.12"
cortex-m-rtfm = "0.5.1"
panic-halt = "0.2.0"
# Used to load BMP images in various examples
[dev-dependencies.tinybmp]
version = "0.2.1"
# Enable embedded-graphics integration
features = [ "graphics" ]
# Used by the noise_i2c examples
[dev-dependencies.rand]
version = "0.7.3"
default-features = false
features = [ "small_rng" ]
[dev-dependencies.stm32f1xx-hal]
version = "0.5.3"
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