-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
32 lines (27 loc) · 1009 Bytes
/
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
[package]
name = "sunspec"
version = "0.7.2"
edition = "2021"
authors = ["Michael P. Jung <[email protected]>"]
description = "SunSpec 1.1 compliant library with tokio support"
keywords = ["sunspec", "models", "generated"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bikeshedder/sunspec"
readme = "README.md"
rust-version = "1.76"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["tokio-modbus"]
serde = ["dep:serde", "bitflags/serde"]
tokio-modbus = ["dep:tokio-modbus", "tokio/time"]
[dependencies]
bitflags = "2.6.0"
serde = { version = "1.0", features = ["derive"], optional = true }
strum = { version = "0.26.0", features = ["derive"] }
thiserror = "2.0.6"
tokio = { version = "1.40.0", default-features = false, optional = true }
tokio-modbus = { version = "0.16", optional = true }
[dev-dependencies]
serde_json = "1.0.114"
[workspace]
members = ["sunspec-gen", "examples/readme", "examples/model103"]