{"id":13596739,"url":"https://github.com/jiegec/usbip","last_synced_at":"2025-07-12T11:07:09.353Z","repository":{"id":52512710,"uuid":"264349626","full_name":"jiegec/usbip","owner":"jiegec","description":"A Rust library to run a USB/IP server","archived":false,"fork":false,"pushed_at":"2025-06-13T10:27:02.000Z","size":154,"stargazers_count":407,"open_issues_count":17,"forks_count":39,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-06-13T10:28:45.791Z","etag":null,"topics":["usb-cdc","usb-hid","usb-sharing","usbip"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jiegec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-05-16T03:19:13.000Z","updated_at":"2025-06-13T10:27:06.000Z","dependencies_parsed_at":"2023-02-18T09:31:30.232Z","dependency_job_id":"6acbac67-27f2-49ae-8878-e84a37059cfc","html_url":"https://github.com/jiegec/usbip","commit_stats":{"total_commits":73,"total_committers":3,"mean_commits":"24.333333333333332","dds":0.136986301369863,"last_synced_commit":"8506ede125823dba4f46787c23a9a7f7a2a5d320"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/jiegec/usbip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiegec%2Fusbip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiegec%2Fusbip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiegec%2Fusbip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiegec%2Fusbip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jiegec","download_url":"https://codeload.github.com/jiegec/usbip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jiegec%2Fusbip/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264979773,"owners_count":23692496,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["usb-cdc","usb-hid","usb-sharing","usbip"],"created_at":"2024-08-01T16:02:44.427Z","updated_at":"2025-07-12T11:07:09.324Z","avatar_url":"https://github.com/jiegec.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# usbip\n\n[![Coverage Status](https://coveralls.io/repos/github/jiegec/usbip/badge.svg?branch=master)](https://coveralls.io/github/jiegec/usbip?branch=master)\n[![crates.io](https://img.shields.io/crates/v/usbip.svg)](https://crates.io/crates/usbip)\n\nA Rust library to run a USB/IP server to simulate USB devices.\n\nIt also enables sharing devices from an OS supporting libusb(libusb claims that it supports Linux, macOS, Windows, OpenBSD/NetBSD, Haiku and Solaris) to another OS supporting USB/IP(Linux, Windows). Sharing an CCID SmartCard from macOS to Linux is tested by running `gpg --card-status`.\n\n## How to use\n\nSee examples directory. Three examples are provided:\n\n1. hid_keyboard: Simulate a hid keyboard that types something every second.\n2. cdc_acm_serial: Simulate a serial that gets a character every second.\n3. host: Act like original usb/ip sharing server, sharing one device from one machine to another. Also supports sharing from macOS to Linux!\n\nTo run example, run:\n\n```bash\n$ env RUST_LOG=info cargo run --example hid_keyboard\n```\n\nThen, in a USB/IP client environment:\n\n```bash\n$ usbip list -r $remote_ip\n$ usbip attach -r $remote_ip -b $bus_id\n```\n\nThen, you can inspect the simulated USB device behavior in both sides.\n\n## API\n\nSee code comments. Not finalized yet, so get prepared for api breaking changes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiegec%2Fusbip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjiegec%2Fusbip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjiegec%2Fusbip/lists"}