-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
42 lines (37 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
[package]
name = "embedded-bacnet"
authors = ["David Haig"]
version = "0.4.0"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/ninjasource/embedded-bacnet.git"
description = "A bacnet library for embedded systems (no_std)"
keywords = ["bacnet", "embedded", "no_std"]
categories = ["embedded", "no-std", "network-programming"]
readme = "README.md"
resolver = "2"
[dependencies]
log = { version = "0.4.22", default-features = false }
defmt = { version = "0.3.8", optional = true }
serde = { version = "1.0", default-features = false, features = [
"derive",
], optional = true }
maybe-async = { version = "0.2.10", default-features = false }
bacnet-macros = { path = "./bacnet-macros", version = "0.1.0" }
# TODO: add this when it reaches 1.0
# derive_more = { version = "^1.0.0-beta.6", default-features = false, features = [ "try_from"] }
[dev-dependencies]
simple_logger = "5.0.0"
chrono = { version = "0.4.28" }
clap = { version = "4.5.4", features = ["derive"] }
tokio = { version = "1.40.0", features = ["rt-multi-thread", "net", "macros"] }
[features]
default = ["alloc"]
#default = []
defmt = ["dep:defmt"]
serde = ["dep:serde"]
is_sync = ["maybe-async/is_sync"]
alloc = ["serde?/alloc", "defmt?/alloc"]
[[example]]
name = "read_property_multiple_blocking"
required-features = ["alloc", "is_sync"]