Commit graph

  • a45a3e08be feat: add Interface::clear_halt(endpoint: u8) for direct endpoint halt clearing main Davíð Steinn Geirsson 2026-03-31 15:13:39 +00:00
  • 1239c6765a fix: correct return type of fuzz_parse_concatenated_config_descriptors Davíð Steinn Geirsson 2026-03-25 22:11:59 +00:00
  • c1380673db feat(linux): allow multiple endpoints per address for concurrent URB pipelining Davíð Steinn Geirsson 2026-03-22 14:11:33 +00:00
  • 997a76cd3c implement isochronous transfers for linux Frederic Laing 2025-12-16 19:08:51 +01:00
  • d939d8bea1 v0.2.3 Kevin Mehall 2026-03-10 12:21:16 -06:00
  • f31e6cc698
    Implement From<&[u8]> and From<[u8; N]> for Buffer (#189) Samuel Åkesson 2026-03-10 19:10:56 +01:00
  • 313cb0132e
    windows: Fix panic when we can't determine the instance ID for a hotplug event (#185) Kevin Mehall 2026-03-10 12:03:29 -06:00
  • 71b4425ccc v0.2.2 Kevin Mehall 2026-02-17 13:14:41 -07:00
  • 7cea448e5c Improve Endpoint docs Kevin Mehall 2026-02-17 11:07:59 -07:00
  • cd593cd871 linux: Handle ENOENT from claim_interface Kevin Mehall 2026-02-17 10:26:04 -07:00
  • 94dffc4311
    default to configuration 0 if the bConfigurationValue file is empty (#181) Abdullah Al-Banna 2026-02-17 20:24:08 +03:00
  • b8e8938975 macos: clean up IOCreatePlugInInterfaceForService retry loop Kevin Mehall 2026-01-24 20:27:08 -08:00
  • d07caaf807 Update io-kit-sys to 0.5.0 Kevin Mehall 2026-01-24 17:30:17 -08:00
  • 57aaa81d29 Fix tokio dependency for -Zminimal-versions Kevin Mehall 2026-01-24 18:06:15 -07:00
  • ac1988f573
    Merge pull request #180 from ColinFinck/update-windows-sys-and-linux-raw-sys Kevin Mehall 2026-01-24 17:27:38 -07:00
  • 85eafb30ae Allow linux-raw-sys 0.11, same as rustix 1.1.3 Kevin Mehall 2026-01-24 17:11:00 -07:00
  • cf80ca7a66
    Update windows-sys to >= 0.60, <= 0.61 and linux-raw-sys to 0.12.1 Colin Finck 2026-01-21 17:05:49 +01:00
  • 318244fa51 v0.2.1 Kevin Mehall 2025-10-04 16:55:16 -06:00
  • 86f692e28f Add crates.io trusted publishing Kevin Mehall 2025-10-04 17:48:07 -06:00
  • 63ffb27ac3
    Merge pull request #164 from kevinmehall/transfer-blocking Kevin Mehall 2025-10-04 16:54:39 -06:00
  • dd56a96648 Add Endpoint::transfer_blocking convenience method. Kevin Mehall 2025-10-03 17:57:18 -06:00
  • abb3740446
    Merge pull request #163 from kevinmehall/waker-fix Kevin Mehall 2025-10-04 16:13:24 -06:00
  • 61228aef1c Log on dropping endpoint with pending transfers Kevin Mehall 2025-10-03 17:57:18 -06:00
  • bcfb2b8e89 Take waker and drop EndpointInner reference before waking transfer Kevin Mehall 2025-08-08 17:45:43 -06:00
  • 573126df43 Fix "hiding a lifetime that's elided elsewhere is confusing" warnings from rustc 1.90 Kevin Mehall 2025-10-03 18:00:24 -06:00
  • 2ef7969588 v0.2.0 Kevin Mehall 2025-07-27 11:37:35 -06:00
  • 0035edd067 Add must_use to MaybeFuture Kevin Mehall 2025-07-27 11:59:38 -07:00
  • 64a278bd41 windows: Fix interface busy check Kevin Mehall 2025-07-27 12:18:16 -06:00
  • 4009138dc7 Documentation improvements Kevin Mehall 2025-07-21 22:44:56 -06:00
  • 426516549a
    Merge pull request #158 from kevinmehall/android-compat Kevin Mehall 2025-07-26 16:21:00 -06:00
  • 5262bad233 Disable DeviceInfo fields and BusInfo for future compatibility with Android and WebUSB backends Kevin Mehall 2025-07-26 13:52:05 -06:00
  • 84616c749e Remove DeviceInfo::max_packet_size_0 Kevin Mehall 2025-07-26 13:53:12 -06:00
  • 1c92baa7fa
    Merge pull request #157 from kevinmehall/tokio-panic Kevin Mehall 2025-07-20 11:01:55 -06:00
  • 7f6f7948d8 Avoid panic during Tokio runtime shutdown Kevin Mehall 2025-07-20 10:08:08 -06:00
  • c1492ae441
    Merge pull request #154 from kevinmehall/windows-interface-info Kevin Mehall 2025-07-16 23:36:29 -06:00
  • 6304e71987 windows: Always use interface descriptors rather than child device nodes for InterfaceInfo Kevin Mehall 2025-07-16 23:22:34 -06:00
  • e0d1d6489d windows: Update windows-sys Kevin Mehall 2025-07-16 23:06:24 -06:00
  • ccb40bd01d
    Merge pull request #153 from kevinmehall/io-traits Kevin Mehall 2025-07-16 22:11:53 -06:00
  • 371b91c85f EndpointRead / EndpointWrite examples with tokio and smol Kevin Mehall 2025-06-15 10:12:21 -06:00
  • eb12376bc2 EndpointWrite: require num_transfers is nonzero Kevin Mehall 2025-07-15 22:56:32 -06:00
  • a3c57e9336 EndpointRead: Error type for EndpointReadUntilShortPacket::consume_end Kevin Mehall 2025-07-15 22:12:02 -06:00
  • 89d55ab6a2 EndpointRead: improve semantics for num_transfers Kevin Mehall 2025-07-14 08:31:41 -06:00
  • 0fd3db6089 v0.2.0-beta.2 Kevin Mehall 2025-06-15 15:02:17 -06:00
  • 915f79005d
    Merge pull request #148 from kevinmehall/macos-update Kevin Mehall 2025-06-15 14:35:17 -06:00
  • 0de3706d9f macos: Use IOUSBInterfaceInterface700 and IOUSBDeviceInterface650 Kevin Mehall 2025-06-15 13:06:27 -07:00
  • 3c21f7ea11 macos: Update core-foundation Kevin Mehall 2025-06-15 12:47:16 -07:00
  • b34e320718 Enable all features for docs.rs Kevin Mehall 2025-06-15 13:37:20 -06:00
  • 38e85c88dc Update dev-dependencies Kevin Mehall 2025-06-15 10:12:21 -06:00
  • 8d55c38aa4 Fix warnings Kevin Mehall 2025-06-15 13:34:37 -06:00
  • a693c9211c linux: Log submitted transfer sizes Kevin Mehall 2025-06-15 10:12:21 -06:00
  • 8b5dde13f4
    Merge pull request #141 from kevinmehall/io-traits Kevin Mehall 2025-06-15 12:57:32 -06:00
  • b1cc46e918 Add EndpointRead and EndpointWrite Kevin Mehall 2025-02-22 16:02:24 -07:00
  • 04e8ddfc30
    Merge pull request #147 from kevinmehall/blocking-no-runtime Kevin Mehall 2025-06-15 11:25:07 -06:00
  • 4da8f325b8 Panic if awaiting a blocking syscall without smol or tokio features. Kevin Mehall 2025-06-15 11:07:58 -06:00
  • bb39ff521d
    Merge pull request #142 from kevinmehall/errors Kevin Mehall 2025-06-14 14:21:11 -06:00
  • 535fc7d458 impl Debug for Device, Interface, and Endpoint Kevin Mehall 2025-06-01 11:52:33 -06:00
  • 6895347f4b Define a new Error type instead of re-exporting std::io::Error Kevin Mehall 2025-05-29 21:22:54 -06:00
  • 592f57a3e0 linux: refactor device initial get_configuration Kevin Mehall 2025-05-31 14:31:37 -06:00
  • f1f4bec4a1
    Merge pull request #140 from kevinmehall/macos-descriptor Kevin Mehall 2025-06-01 12:38:05 -06:00
  • f66c262221 macos: Copy config descriptors when opening device Kevin Mehall 2025-05-29 23:12:30 -07:00
  • 7730be5f86
    Merge pull request #138 from kevinmehall/info-cleanup Kevin Mehall 2025-05-31 11:41:38 -06:00
  • 03468acd5f linux: Remove BusInfo::parent_path Kevin Mehall 2025-05-29 22:22:34 -06:00
  • e09a4ef458 linux: Canonicalize sysfs paths Kevin Mehall 2025-05-29 22:22:34 -06:00
  • 9458831e6e Don't assume bus_id is 3 characters Kevin Mehall 2025-05-29 23:10:06 -07:00
  • 3ee0e22f81 Actually remove atomic-waker dependency Kevin Mehall 2025-05-26 12:24:57 -06:00
  • 3d2eb04f55 Docs fix Kevin Mehall 2025-05-26 12:22:20 -06:00
  • 4edb4a47ca v0.2-beta.1 Kevin Mehall 2025-05-25 12:57:35 -06:00
  • 123ce06efd
    Merge pull request #135 from kevinmehall/errors Kevin Mehall 2025-05-25 12:50:37 -06:00
  • 24c7ac5efd Error on IN transfer that is not a multiple of max packet size on all platforms Kevin Mehall 2025-05-24 23:45:40 -06:00
  • e02378e556 windows: InvalidArgument for unsupported control recipient interface Kevin Mehall 2025-05-24 18:02:18 -06:00
  • 00667caa01 windows: fix submit-time error Kevin Mehall 2025-05-24 18:00:33 -06:00
  • 5ac12ef088 macos: map error type for control timeout Kevin Mehall 2025-05-24 12:06:10 -07:00
  • 18bb260623 Make TransferError::Unknown hold u32 Kevin Mehall 2025-05-24 12:05:38 -07:00
  • 221867978b
    Merge pull request #134 from kevinmehall/clippy Kevin Mehall 2025-05-24 15:16:40 -06:00
  • 700b8da9d8 Clippy fixes Kevin Mehall 2025-05-21 19:00:20 -06:00
  • 19e540fdd7
    Merge pull request #131 from kevinmehall/fixes Kevin Mehall 2025-05-10 13:21:13 -06:00
  • 5a23b845a4 Fix memory ordering for dropping transfers Kevin Mehall 2025-05-10 13:00:42 -06:00
  • 4a9c3e5bbc Prevent dropping a device while a control transfer is pending Kevin Mehall 2025-05-04 09:37:31 -06:00
  • dac6f52c27 Remove atomic-waker Kevin Mehall 2025-05-03 16:05:31 -06:00
  • e1796a80dd
    Merge pull request #117 from kevinmehall/redesign Kevin Mehall 2025-05-03 22:11:34 -06:00
  • 3f558194da windows: Revert to GetOverlappedResult for completion status Kevin Mehall 2025-05-03 15:55:36 -06:00
  • b976e91ce8 Docs edits Kevin Mehall 2025-05-03 12:01:09 -06:00
  • 4a3b5ddf9f Simplify actual_len vs requested_len Kevin Mehall 2025-05-03 13:07:16 -06:00
  • 6027b5c069 Include error code in TransferError::Unknown Kevin Mehall 2025-05-03 10:01:10 -06:00
  • 1e3ae0f9be Rename Completion::data -> buffer Kevin Mehall 2025-04-27 13:52:38 -06:00
  • 6501af522f Move Completion to nusb::transfer Kevin Mehall 2025-04-27 13:47:16 -06:00
  • 3af56dd8f1 Endpoint::wait_next_complete for blocking wait Kevin Mehall 2025-02-22 16:02:24 -07:00
  • 2929a10b76 Linux zero-copy Kevin Mehall 2025-04-19 19:25:47 -06:00
  • 992fd16078 Expose buffer instead of transfer Kevin Mehall 2025-03-23 20:49:03 -06:00
  • ba3f7d65cf impl Error for ClaimEndpointError Kevin Mehall 2025-03-08 12:00:06 -07:00
  • 2aee309cc3 Use TransferError for control transfers Kevin Mehall 2025-03-02 22:36:37 -07:00
  • 47a1896653 windows: Enable RAW_IO when creating an IN endpoint Kevin Mehall 2025-02-22 14:41:10 -07:00
  • ef82f2c7f1 Redesign transfer / endpoint API Kevin Mehall 2025-02-01 19:33:37 -07:00
  • 3091921075
    Merge pull request #125 from kevinmehall/async-rt Kevin Mehall 2025-04-12 13:45:47 -06:00
  • 38189baf5c cargo features for smol and tokio blocking executors Kevin Mehall 2025-04-01 21:18:44 -06:00
  • 413093e181 Bump MSRV to 1.79 Kevin Mehall 2025-04-08 08:45:09 -06:00
  • 25556d7f6b Prepare for not requiring Send on wasm Kevin Mehall 2025-04-08 20:12:34 -06:00
  • bd3ba8283d Make MaybeFuture Send Kevin Mehall 2025-03-09 23:42:00 -06:00
  • 873f96b8e1
    fix(macos): claiming incorrect interface (#124) Paweł Gorgoń 2025-04-02 16:11:37 +02:00
  • 2801deedce linux: Clean up version parsing Kevin Mehall 2025-04-01 19:22:17 -06:00