## ## 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, ## [package] name = "hls_lfcd_lds_driver" version = "0.1.7" edition = "2021" repository = "https://github.com/gabrik/hls_lfcd_lds_rs" homepage = "https://github.com/gabrik/hls_lfcd_lds_rs" authors = ["gabrik "] 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"]