-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathCargo.toml
49 lines (40 loc) · 1.3 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
[package]
name = "ws2812-esp32-rmt-driver"
version = "0.10.0"
license = "MIT"
authors = ["@cat_in_136"]
categories = ["embedded", "hardware-support"]
keywords = ["embedded-graphics", "esp32", "neopixel", "smart-leds", "ws2812"]
description = "WS2812 driver using ESP32 RMT"
homepage = "https://github.com/cat-in-136/ws2812-esp32-rmt-smart-leds"
readme = "README.md"
repository = "https://github.com/cat-in-136/ws2812-esp32-rmt-smart-leds"
edition = "2021"
[dependencies]
smart-leds-trait = { version = "0.3", optional = true }
embedded-graphics-core = { version = "0.4", optional = true }
heapless = "0.8"
[target.'cfg(target_vendor = "espressif")'.dependencies]
esp-idf-hal = { version = "0.44", default-features = false }
esp-idf-sys = { version = "0.35", default-features = false }
[target.'cfg(not(target_vendor = "espressif"))'.dependencies]
paste = "1"
[features]
default = ["std"]
std = [ "alloc", "esp-idf-hal/std", "esp-idf-sys/std" ]
alloc = [ "esp-idf-hal/alloc" ]
[dev-dependencies]
smart-leds = "0.4"
embedded-graphics = "0.8"
[build-dependencies]
embuild = "0.32"
[profile.release]
strip = true
opt-level = "s"
[profile.dev]
debug = true # Symbols are nice and they don't increase the size on Flash
strip = true
opt-level = "z"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]