-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
45 lines (37 loc) · 1.28 KB
/
Cargo.toml
File metadata and controls
45 lines (37 loc) · 1.28 KB
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
[package]
name = "esp32-co2-monitor"
version = "0.1.0"
authors = ["Sergei Guselnikov <guselnikov@me.com>"]
edition = "2021"
description = "ESP32-based CO2 monitor using SCD41 sensor and SSD1306 OLED display"
repository = "https://github.com/arietis/esp32-co2-monitor"
license = "MIT"
keywords = ["esp32", "embedded", "co2", "scd41", "oled"]
categories = ["embedded", "hardware-support"]
resolver = "2"
rust-version = "1.77"
[[bin]]
name = "esp32-co2-monitor"
harness = false # do not use the built in cargo test harness -> resolve rust-analyzer errors
[profile.release]
opt-level = "s"
[profile.dev]
debug = true # Symbols are nice and they don't increase the size on Flash
opt-level = "z"
[features]
default = []
[dependencies]
enumset = "1.1.10"
esp-idf-svc = { version = "0.51.0", default-features = false, features = ["alloc"] }
esp-idf-sys = { git = "https://github.com/esp-rs/esp-idf-sys", features = ["binstart", "std", "native"] }
heapless = "0.9.2"
log = "0.4.29"
scd41-core = { path = "scd41-core" }
[build-dependencies]
embuild = "0.33.1"
[patch.crates-io]
esp-idf-hal = { git = "https://github.com/esp-rs/esp-idf-hal" }
esp-idf-svc = { git = "https://github.com/esp-rs/esp-idf-svc" }
esp-idf-sys = { git = "https://github.com/esp-rs/esp-idf-sys" }
[workspace]
members = ["scd41-core"]