-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
35 lines (30 loc) · 850 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
[package]
name = "webusb"
description = "WebUSB API implementation in Rust"
version = "0.5.0"
authors = ["Divy Srivastava <dj.srivastava23@gmail.com>"]
edition = "2018"
repository = "https://github.com/littledivy/webusb"
license = "MIT"
keywords = [
"usb",
"webusb"
]
[lib]
crate-type = ["rlib", "cdylib"]
[examples]
name = "blink"
[features]
default = ["libusb"]
libusb = ["rusb", "libusb1-sys"]
deno_ffi = ["deno_bindgen", "serde", "libusb", "once_cell"]
serde_derive = ["serde"]
[dependencies]
rusb = { version = "0.8.1", optional = true }
libusb1-sys = { version = "0.5.0" , optional = true }
serde = { version = "1", features = ["derive"], optional = true }
deno_bindgen = { version = "0.6.0", optional = true }
once_cell = { version = "1.9.0", optional = true }
[dev-dependencies]
# For a loose connection :-)
flaky_test = "0.1.0"