Commit graph

29 commits

Author SHA1 Message Date
30d3c9532e feat: add usbip-rs CLI tool with vsock transport
Convert to cargo workspace with lib/ and cli/ crates. Add Nix flake
for building and development. Extract handle_urb_loop and add
read_urb_command to the library for CLI consumption.

Implement the usbip-rs CLI binary with clap subcommands:
- client listen: accept incoming connections via vhci_hcd sysfs
- host connect: passthrough real USB devices via nusb
- test_hid connect: export a simulated HID keyboard for testing

Add vsock transport layer and vhci_hcd sysfs interaction module.
Apply rustfmt formatting project-wide and add rustfmt/clippy to devShell.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 10:41:42 +00:00
Jiajie Chen
0878920532 Release v0.8.0 2026-01-27 13:00:46 +08:00
Jiajie Chen
3ff5df5c2e Migrate to nusb 0.2.1 2025-12-24 23:17:02 +08:00
Jiajie Chen
6fd28e9076 Bump dependencies 2025-03-24 13:47:39 +08:00
Jiajie Chen
9c1efa1dd3 Add initial nusb support for #54 2024-10-26 10:16:04 +08:00
Jiajie Chen
341bd0fe5e Release v0.7.1 2024-01-14 10:05:23 +08:00
Jiajie Chen
450f784a6c Release v0.7.0 2023-12-30 09:22:18 +08:00
h7x4
e0542938e6
Add serde support
Add serde serialization/deserialization for most public types
2023-10-29 16:32:06 +01:00
h7x4
a1ecd1d65b
Cargo.toml: rusb 0.9.1 -> 0.9.3 2023-10-29 16:32:05 +01:00
h7x4
6ed02934e3
Add support for modifying devicelist during execution 2023-08-23 15:51:48 +02:00
James Devine
8506ede125 bump version 2023-02-22 15:33:34 +00:00
Jiajie Chen
11df5fba96 Bump tokio to 1.22.0 2022-12-05 17:44:07 +08:00
Jiajie Chen
0077a363eb Upgrade tokio to v1.20.1 2022-08-11 08:23:45 +08:00
Jiajie Chen
42f335e9fa Release v0.5.0 2022-04-12 00:34:08 +08:00
Jiajie Chen
51f8e0a8b5 Bump dependencies 2022-04-12 00:33:46 +08:00
Jiajie Chen
cd4487f71c Remove edition2021 feature 2021-10-03 09:53:34 +08:00
Jiajie Chen
1c2c4003a0 Rust 2021 edition 2021-07-22 14:07:01 +08:00
Jiajie Chen
da1fe7135b Release v0.4.0 2021-04-27 08:55:00 +08:00
Jiajie Chen
500c12a6c4 Bump dependencies 2021-04-27 08:52:12 +08:00
Jiajie Chen
5b7a393270 Release v0.3.1 2020-11-08 11:47:45 +08:00
Jiajie Chen
c77ab79955 Release v0.3.0 2020-11-08 10:56:03 +08:00
Jiajie Chen
b399673335 Bump dependencies, thanks @Cycatz 2020-11-08 10:55:16 +08:00
Jiajie Chen
8c36b694a0 Release 0.2.1 2020-06-15 13:07:52 +08:00
Jiajie Chen
c79d280b92 Release 0.2.0 2020-05-16 17:29:32 +08:00
Jiajie Chen
b10ca84ef9 Minor update 2020-05-16 16:53:47 +08:00
Jiajie Chen
7e3058aeb4 Use rusb to enumerate devices 2020-05-16 15:34:21 +08:00
Jiajie Chen
adfd10b8c1 Prepare to publish 2020-05-16 11:20:45 +08:00
Jiajie Chen
c6b65633f1 Implement GetDescriptor for device 2020-05-15 23:28:41 +08:00
Jiajie Chen
673631951e Initial usbip server based on tokio 2020-05-15 21:18:28 +08:00