-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
45 lines (39 loc) · 1.37 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
45
[package]
name = "daktronics-allsport-5000"
version = "0.3.1"
authors = ["zabackary"]
description = "A Rust implementation of decoders for the Daktronics All Sport 5000's serial output"
license = "MIT"
homepage = "https://github.com/zabackary/daktronics-allsport-5000-rs"
repository = "https://github.com/zabackary/daktronics-allsport-5000-rs"
documentation = "http://docs.rs/daktronics-allsport-5000"
readme = "README.md"
keywords = ["daktronics", "allsport-5000"]
categories = ["asynchronous", "hardware-support"]
edition = "2021"
[dependencies]
bytes = "^1.6.0"
futures-util = { version = "^0.3.30", optional = true }
paste = "^1.0.15"
serde = { version = "^1.0.203", optional = true }
tokio = { version = "^1.38.0", default-features = false, optional = true }
tokio-serial = { version = "^5.4.4", features = ["codec"], optional = true }
tokio-util = { version = "^0.7.11", optional = true }
[dev-dependencies]
futures-util = "^0.3.30"
serde_json = "^1.0"
tokio = { version = "^1.38.0", features = ["full"] }
tokio-test = { version = "^0.4.4" }
[features]
default = ["tokio-serial"]
tokio-serial = ["tokio", "dep:tokio-serial"]
tokio = ["async", "dep:tokio", "dep:tokio-util"]
async = ["dep:futures-util"]
serde = ["dep:serde"]
[[example]]
name = "dump_basketball_as_json"
required-features = ["tokio-serial", "serde"]
[[example]]
name = "read_data_buffer"
[[example]]
name = "read_raw_packet"