-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
48 lines (44 loc) · 1.02 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
[package]
name = "crazyradio-webusb"
version = "0.2.1"
authors = ["Arnaud Taffanel <arnaud@taffanel.org>"]
edition = "2018"
description = "Crazyradio USB dongle driver for WebUSB"
readme = "readme.md"
repository = "https://github.com/ataffanel/crazyradio-webusb-rs"
license = "MIT OR Apache-2.0"
keywords = ["nrf24", "crazyflie", "webusb", "wasm"]
categories = ["hardware-support"]
exclude = [
".github/*"
]
[dependencies]
thiserror = "1.0"
wasm-bindgen-futures = "0.4"
serde_json = "1.0"
wasm-bindgen = { version = "0.2", features = ["serde-serialize"] }
js-sys = "0.3"
futures-util = "0.3"
async-std = "1"
[dev-dependencies]
wasm-bindgen-test = "0.3.27"
[dependencies.web-sys]
version = "0.3"
features = [
'Document',
'Element',
'HtmlElement',
'Node',
'Window',
'Navigator',
'Usb',
'UsbDeviceRequestOptions',
'UsbDevice',
'UsbInTransferResult',
'UsbControlTransferParameters',
'UsbOutTransferResult',
'UsbRecipient',
'UsbRequestType'
]
[package.metadata.docs.rs]
rustc-args = ["--cfg=web_sys_unstable_apis"]