# 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 = "2021" rust-version = "1.74" name = "nusb" version = "0.1.13" authors = ["Kevin Mehall "] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Cross-platform low-level access to USB devices in pure Rust" readme = "README.md" keywords = [ "usb", "hardware", ] categories = ["hardware-support"] license = "Apache-2.0 OR MIT" repository = "https://github.com/kevinmehall/nusb" [lib] name = "nusb" path = "src/lib.rs" [[example]] name = "blocking" path = "examples/blocking.rs" [[example]] name = "bulk" path = "examples/bulk.rs" [[example]] name = "control" path = "examples/control.rs" [[example]] name = "descriptors" path = "examples/descriptors.rs" [[example]] name = "detach" path = "examples/detach.rs" [[example]] name = "detach_claim" path = "examples/detach_claim.rs" [[example]] name = "hotplug" path = "examples/hotplug.rs" [[example]] name = "list" path = "examples/list.rs" [[example]] name = "string_descriptors" path = "examples/string_descriptors.rs" [dependencies.atomic-waker] version = "1.1.2" [dependencies.futures-core] version = "0.3.29" [dependencies.log] version = "0.4.20" [dependencies.once_cell] version = "1.18.0" [dependencies.slab] version = "0.4.9" [dev-dependencies.env_logger] version = "0.11.0" [dev-dependencies.futures-lite] version = "2" [target.'cfg(any(target_os="linux", target_os="android"))'.dependencies.libc] version = "0.2.155" [target.'cfg(any(target_os="linux", target_os="android"))'.dependencies.rustix] version = "1" features = [ "fs", "event", "net", ] [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(fuzzing)"]