-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
42 lines (34 loc) · 937 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
33
34
35
36
37
38
39
40
41
42
[package]
name = "slcan_fd"
version = "0.1.4"
edition = "2021"
description = "Serial-line CAN bus (slcan) interface with support for CAN FD"
authors = ["Adrian Wowk <[email protected]>"]
license = "MIT"
homepage = "https://github.com/adom-inc/slcan_fd"
repository = "https://github.com/adom-inc/slcan_fd.git"
readme = "README.md"
keywords = ["can", "slcan", "can fd", "fd", "slcan_fd", "canable", "canable2"]
[dependencies]
# Shared
embedded-can = "0.4.1"
heapless = "0.8.0"
num_enum = "0.7.2"
thiserror = "1.0.61"
tokio = { version = "1.38.0", optional = true, features = ["io-util"] }
[features]
default = ["tokio"]
sync = []
tokio = ["dep:tokio"]
[dev-dependencies]
# Sync
serialport = "4.3.0"
# Tokio
tokio = { version = "1.38.0", features = ["macros", "rt-multi-thread"] }
tokio-serial = "5.4.4"
[[example]]
name = "sync_unix_tty"
required-features = ["sync"]
[[example]]
name = "tokio_unix_tty"
required-features = ["tokio"]