| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.74" |
| 15 |
name = "nusb" |
| 16 |
version = "0.1.13" |
| 17 |
authors = ["Kevin Mehall <[email protected]>"] |
| 18 |
build = false |
| 19 |
autolib = false |
| 20 |
autobins = false |
| 21 |
autoexamples = false |
| 22 |
autotests = false |
| 23 |
autobenches = false |
| 24 |
description = "Cross-platform low-level access to USB devices in pure Rust" |
| 25 |
readme = "README.md" |
| 26 |
keywords = [ |
| 27 |
"usb", |
| 28 |
"hardware", |
| 29 |
] |
| 30 |
categories = ["hardware-support"] |
| 31 |
license = "Apache-2.0 OR MIT" |
| 32 |
repository = "https://github.com/kevinmehall/nusb" |
| 33 |
|
| 34 |
[lib] |
| 35 |
name = "nusb" |
| 36 |
path = "src/lib.rs" |
| 37 |
|
| 38 |
[[example]] |
| 39 |
name = "blocking" |
| 40 |
path = "examples/blocking.rs" |
| 41 |
|
| 42 |
[[example]] |
| 43 |
name = "bulk" |
| 44 |
path = "examples/bulk.rs" |
| 45 |
|
| 46 |
[[example]] |
| 47 |
name = "control" |
| 48 |
path = "examples/control.rs" |
| 49 |
|
| 50 |
[[example]] |
| 51 |
name = "descriptors" |
| 52 |
path = "examples/descriptors.rs" |
| 53 |
|
| 54 |
[[example]] |
| 55 |
name = "detach" |
| 56 |
path = "examples/detach.rs" |
| 57 |
|
| 58 |
[[example]] |
| 59 |
name = "detach_claim" |
| 60 |
path = "examples/detach_claim.rs" |
| 61 |
|
| 62 |
[[example]] |
| 63 |
name = "hotplug" |
| 64 |
path = "examples/hotplug.rs" |
| 65 |
|
| 66 |
[[example]] |
| 67 |
name = "list" |
| 68 |
path = "examples/list.rs" |
| 69 |
|
| 70 |
[[example]] |
| 71 |
name = "string_descriptors" |
| 72 |
path = "examples/string_descriptors.rs" |
| 73 |
|
| 74 |
[dependencies.atomic-waker] |
| 75 |
version = "1.1.2" |
| 76 |
|
| 77 |
[dependencies.futures-core] |
| 78 |
version = "0.3.29" |
| 79 |
|
| 80 |
[dependencies.log] |
| 81 |
version = "0.4.20" |
| 82 |
|
| 83 |
[dependencies.once_cell] |
| 84 |
version = "1.18.0" |
| 85 |
|
| 86 |
[dependencies.slab] |
| 87 |
version = "0.4.9" |
| 88 |
|
| 89 |
[dev-dependencies.env_logger] |
| •90 |
version = "0.11.0" |
| 91 |
|
| 92 |
[dev-dependencies.futures-lite] |
| •93 |
version = "2" |
| 94 |
|
| 95 |
[target.'cfg(any(target_os="linux", target_os="android"))'.dependencies.libc] |
| 96 |
version = "0.2.155" |
| 97 |
|
| 98 |
[target.'cfg(any(target_os="linux", target_os="android"))'.dependencies.rustix] |
| •99 |
version = "1" |
| 100 |
features = [ |
| 101 |
"fs", |
| 102 |
"event", |
| 103 |
"net", |
| 104 |
] |
| 105 |
|
| 106 |
[lints.rust.unexpected_cfgs] |
| 107 |
level = "warn" |
| 108 |
priority = 0 |
| 109 |
check-cfg = ["cfg(fuzzing)"] |