-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCargo.toml
56 lines (49 loc) · 1.48 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
[package]
name = "gc9a01-rs"
categories = ["embedded", "no-std"]
version = "0.4.2"
edition = "2021"
authors = ["Walter Bonetti <[email protected]>"]
license = "MIT OR Apache-2.0"
description = "SPI 4-wire driver for GC9A01 display controller"
keywords = [
"no-std",
"gc9a01",
"embedded-graphics",
"embedded",
"embedded-hal-driver",
]
include = [
"src/**/*.rs",
"crates-io.md",
"README.md",
"LICENSE-APACHE",
"LICENSE-MIT",
]
repository = "https://github.com/IniterWorker/gc9a01"
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package.metadata.docs.rs]
targets = ["thumbv7m-none-eabi", "thumbv7em-none-eabihf"]
[dependencies]
# Embedded HAL abstraction
# We use this layer to abstract hardware i2c/spi
embedded-hal = { version = "1.0.0" }
embedded-graphics-core = { version = "0.4.0", optional = true }
# This Rust crate contains a no_std compatible interface in form of traits
# to bridge between a bus driver and a display driver.
# The goal here is to allow display drivers to be written in
# a hardware interface agnostic way and prevent code duplication
# and missing implementations.
# https://github.com/therealprof/display-interface
display-interface = "0.5.0"
display-interface-spi = "0.5.0"
[features]
default = ["graphics"]
graphics = ["embedded-graphics-core"]
[dev-dependencies.cargo-husky]
version = "1"
features = ["user-hooks"]
[lib]
name = "gc9a01"
path = "src/lib.rs"