-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
68 lines (63 loc) · 1.48 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[package]
name = "webadb"
version = "0.1.0"
authors = ["Hajime Fukuda <[email protected]>"]
edition = "2018"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
wasm-bindgen = { path = "../wasm-bindgen/" }
js-sys = { path = "../wasm-bindgen/crates/js-sys" }
wasm-bindgen-futures = { path = "../wasm-bindgen/crates/futures" }
futures = "0.3"
async-stream = "0.3"
byteorder = "1"
derive-try-from-primitive = "1"
rsa = "0.3.0"
num-bigint = { version = "0.6", package = "num-bigint-dig" }
base64 = "0.13.0"
[dependencies.web-sys]
version = "0.3.45"
path = "../wasm-bindgen/crates/web-sys"
features = [
'console',
'Document',
'Element',
'HtmlElement',
'HtmlTextAreaElement',
'Node',
'Window',
'Navigator',
'AllowedUsbDevice',
'Usb',
'UsbAlternateInterface',
'UsbConfiguration',
'UsbConnectionEvent',
'UsbConnectionEventInit',
'UsbControlTransferParameters',
'UsbDevice',
'UsbDeviceFilter',
'UsbDeviceRequestOptions',
'UsbDirection',
'UsbEndpoint',
'UsbEndpointType',
'UsbInTransferResult',
'UsbInterface',
'UsbIsochronousInTransferPacket',
'UsbIsochronousInTransferResult',
'UsbIsochronousOutTransferPacket',
'UsbIsochronousOutTransferResult',
'UsbOutTransferResult',
'UsbPermissionDescriptor',
'UsbPermissionResult',
'UsbPermissionStorage',
'UsbRecipient',
'UsbRequestType',
'UsbTransferStatus',
]
[dev-dependencies]
#wasm-bindgen-test = "0.3.13"
[profile.release]
# Tell `rustc` to optimize for small code size.
# opt-level = "s"
debug = true