usb_gadget 0.2.1
usb_gadget: ^0.2.1 copied to clipboard
Expose standard or fully custom USB peripherals (gadgets) through a USB device controller (UDC) on Linux.
We analyzed this package 29 hours ago, and awarded it 125 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
No `CHANGELOG.md` found.
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: Apache-2.0.
10/10 points: 20% or more of the public API has dartdoc comments
692 out of 779 API elements (88.8 %) have documentation comments.
Some symbols that are missing documentation: usb_gadget, usb_gadget.AcmFunction.AcmFunction.new, usb_gadget.AlternateSetting.AlternateSetting.new, usb_gadget.AlternateSetting.alt1, usb_gadget.AlternateSetting.alt2.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:usb_gadget/usb_gadget.dartthat imports:package:usb_gadget/src/gadget/gadget.dartthat imports:package:usb_gadget/src/gadget/udc.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
WARNING: The value of the field '__pad1' isn't used.
lib/src/platform/aio/aio.ffi.dart:152:16
╷
152 │ external int __pad1;
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/platform/aio/aio.ffi.dart
WARNING: The value of the field '__pad3' isn't used.
lib/src/platform/aio/aio.ffi.dart:172:16
╷
172 │ external int __pad3;
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/platform/aio/aio.ffi.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
^2.1.5 |
2.1.5 | 2.1.5 | |
meta |
^1.18.0 |
1.18.0 | 1.18.0 | |
squadron |
^7.4.0 |
7.4.0 | 7.4.0 | |
using |
^1.0.5 |
1.0.5 | 1.0.5 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cancelation_token |
- | 1.1.0 | 1.1.0 | |
logger |
- | 2.6.2 | 2.6.2 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.8, Dart 3.10.7.
Check the analysis log for details.