Back to search results
libusb owner avatar

libusb

A cross-platform library to access USB devices

Library c libusb usb
Minimal

Install package

Latest
min add libusb
Source archive SHA256
5977fc95…0a85
Spec hash
c67a0b45…8a8a
Target
amd64/linux
Needs network
No
Closed source
No

Quick links

[ Docs ] [ Changelog ] [ Repo ] [ Security ] [ SBOM ]

What is libusb?

A cross-platform library to access USB devices

How to use this package

Quick install

Installs the package into the current environment for this session. Use --build or --runtime to persist it as a build-time or runtime dependency.

min add libusb

Declare as a task dependency in minimal.toml

Listing the package under tasks.<name>.packages makes it available inside that task’s sandbox.

[tasks.dev]
packages = ["libusb"]

Build-time vs runtime

Choose build-time for tools needed during compilation, runtime for dynamic libraries loaded at runtime.

min add --build libusb
min add --runtime libusb