-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
29 lines (25 loc) · 769 Bytes
/
Cargo.toml
File metadata and controls
29 lines (25 loc) · 769 Bytes
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
[package]
name = "han"
version = "0.2.0-alpha.0"
edition = "2021"
description = "No-std implementation of the Swedish-Norwegian, P1-based smart power meter standard"
license = "MIT"
categories = ["parser-implementations", "no-std"]
keywords = ["uart", "h1", "han"]
[dependencies]
crc16 = "0.4"
defmt = { version = "0.3", optional = true }
embedded-io-async = { version = "0.6", optional = true }
time = { version = "0.3", default-features = false, features = [
"parsing",
"macros",
] }
[features]
defmt-03 = ["dep:defmt"]
embedded-io-async = ["dep:embedded-io-async"]
std = ["embedded-io-async/std"]
[dev-dependencies]
tokio = { version = "1.36.0", features = ["macros", "rt"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]