-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
29 lines (25 loc) · 964 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
[package]
name = "usbw"
version = "0.0.2"
authors = ["AndrewGi <[email protected]>"]
edition = "2018"
license = "GPL-3.0-only"
description = "basic USB driver. So far just a wrapper for `rusb`. Planning on wrapping `libusb` later"
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
std = []
default = ["libusb"]
libusb = ["libusb1-sys", "std", "libc"]
winusb = ["winapi/winusb", "std"]
[dependencies]
winapi = {version = "0.3.8", default_features = false, optional = true}
libc = {version = "0.2", default_features = false, optional = true}
libusb1-sys = {version = "0.5", default_features = false, optional = true}
futures-util = {version = "0.3.8", default_features = false}
# Planning on removing depenences from driver_async
driver_async = {version="0.0.3", path="../async_driver"}
# Used for the async libusb transfer Drop.
blocking = "1.0"
[dev-dependencies]
tokio = "0.3"