-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
40 lines (34 loc) · 1.28 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
[package]
name = "stemma-soil-sensor-embassy"
version = "0.2.1"
edition = "2021"
license = "MIT"
description = "Interface with Adafruit's STEMMA Soil Sensor while using embassy"
readme = "README.md"
authors = ["Jonathan Rotter"]
categories = ["embedded", "no-std", "no-std::no-alloc"]
keywords = ["embassy", "rp2040", "stemma-soil-sensor", "raspberry-pi-pico-w"]
repository = "https://github.com/hydrogen602/stemma-soil-sensor-embassy"
documentation = "https://docs.rs/stemma-soil-sensor-embassy/latest/stemma_soil_sensor_embassy/"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
thiserror-no-std = "2.0.2"
embassy-rp = { version = "0.1.0", features = [
"time-driver",
"critical-section-impl",
] }
embassy-time = "0.3.0"
embedded-hal-1 = { package = "embedded-hal", version = "1.0" }
defmt = { version = "0.3", optional = true }
picoserve = { version = "0.9.1", features = ["embassy"], optional = true }
[features]
default = []
## Implements IntoResponse for all error types to make integration with picoserve easier
picoserve = ["dep:picoserve"]
## Defmt logging support. Implements `defmt::Format` for all error types.
defmt = [
"dep:defmt",
"embassy-rp/defmt",
"embassy-time/defmt",
"embassy-time/defmt-timestamp-uptime",
]