-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
44 lines (39 loc) · 1.23 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
43
44
[package]
edition = "2021"
name = "libosdp"
version = "0.1.9"
authors = ["Siddharth Chandrasekaran <sidcha.dev@gmail.com>"]
description = "Library implementation of IEC 60839-11-5 OSDP (Open Supervised Device Protocol)"
documentation = "https://docs.rs/libosdp"
homepage = "https://libosdp.sidcha.dev/"
readme = "README.md"
repository = "https://github.com/goToMain/libosdp-rs"
license = "Apache-2.0"
keywords = ["osdp", "libosdp", "acs", "sia", "wiegand"]
categories = ["development-tools", "embedded"]
[dependencies]
bitflags = "2.4.0"
embedded-io = { version = "0.6.1", features = ["alloc"] }
libosdp-sys = "3.0.8"
log = { version = "0.4.20", optional = true }
serde = { version = "1.0.192", features = ["derive", "alloc"], default-features = false }
thiserror = { version = "2.0.11", optional = true }
defmt = { version = "0.3", optional = true, features = ["alloc"] }
itoa = "1.0.11"
[dev-dependencies]
env_logger = "0.11.3"
multiqueue = "0.3.2"
rand = "0.9.0"
ringbuf = "0.4.7"
sha256 = "1.5.0"
[features]
default = ["std"]
defmt-03 = ["embedded-io/defmt-03", "dep:defmt"]
log = ["dep:log"]
std = ["thiserror", "serde/std", "log", "log/std"]
[[example]]
name = "cp"
required-features = ["std"]
[[example]]
name = "pd"
required-features = ["std"]