# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" name = "webusb" version = "0.5.0" authors = ["Divy Srivastava "] description = "WebUSB API implementation in Rust" keywords = [ "usb", "webusb", ] license = "MIT" repository = "https://github.com/littledivy/webusb" [lib] crate-type = [ "rlib", "cdylib", ] [dependencies.deno_bindgen] version = "0.6.0" optional = true [dependencies.libusb1-sys] version = "0.5.0" optional = true [dependencies.once_cell] version = "1.9.0" optional = true [dependencies.rusb] version = "0.8.1" optional = true [dependencies.serde] version = "1" features = ["derive"] optional = true [dev-dependencies.flaky_test] version = "0.1.0" [features] default = ["libusb"] deno_ffi = [ "deno_bindgen", "serde", "libusb", "once_cell", ] libusb = [ "rusb", "libusb1-sys", ] serde_derive = ["serde"]