-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
53 lines (45 loc) · 1.81 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
46
47
48
49
50
51
52
53
##
## Copyright (c) 2022 Gabriele Baldoni
##
## This program and the accompanying materials are made available under the
## terms of the Eclipse Public License 2.0 which is available at
## http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
## which is available at https://www.apache.org/licenses/LICENSE-2.0.
##
## SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
##
## Contributors:
## Gabriele Baldoni, <gabriele@gabrielebaldoni.com>
##
[package]
name = "hls_lfcd_lds_driver"
version = "0.1.8"
edition = "2021"
repository = "https://github.com/gabrik/hls_lfcd_lds_rs"
homepage = "https://github.com/gabrik/hls_lfcd_lds_rs"
authors = ["gabrik <gabriele.baldoni@gmail.com>"]
license = " EPL-2.0 OR Apache-2.0"
categories = ["asynchronous", "hardware-support"]
description = "Rust driver for ROBOTIS HLDS HLS-LFCD-LDS (LDS-01)"
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tokio = {version = "1.17.0", features = ["io-util"] , optional = true}
tokio-serial = {version = "5.4.1", optional = true}
serde = { version = "1.0", features = ["derive", "rc"], optional = true }
serde-big-array = {version = "0.4", optional = true}
serialport = {version = "4.1", optional = true}
mio-serial = {version = "5.0.2", default-features = false, optional = true}
smol = {version = "1.2", optional = true}
futures = {version = "0.3", optional = true}
[dev-dependencies]
clap = { version = "4.0", features = ["derive"] }
tokio = {version = "1.17.0", features = ["macros","rt","rt-multi-thread"] }
async-std = { version = "=1.12.0", features = ["attributes"]}
ctrlc = "3.2.2"
[features]
ser_de = ["serde","serde-big-array"]
async_tokio = ["tokio","tokio-serial"]
async_smol = ["mio-serial","smol", "futures"]
sync = ["serialport"]
default = ["async_tokio"]