dart_libusb 1.0.0
dart_libusb: ^1.0.0 copied to clipboard
A fork of the libusb Dart package with updated dependencies. Provides Dart FFI bindings for the libusb native library on Linux, macOS, and Windows.
We analyzed this package 40 hours ago, and awarded it 150 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
162 out of 361 API elements (44.9 %) have documentation comments.
Some symbols that are missing documentation: dart_libusb, dart_libusb.Dartlibusb_hotplug_callback_fnFunction, dart_libusb.Dartlibusb_hotplug_callback_handle, dart_libusb.Dartlibusb_log_cbFunction, dart_libusb.Dartlibusb_pollfd_added_cbFunction.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:dart_libusb/dart_libusb.dartthat declares support for platforms:Windows,Linux,macOS.
Package does not support platform `iOS`.
Because:
package:dart_libusb/dart_libusb.dartthat declares support for platforms:Windows,Linux,macOS.
Package does not support platform `Web`.
Because:
package:dart_libusb/dart_libusb.dartthat declares support for platforms:Windows,Linux,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: The variable name 'tv_sec' isn't a lowerCamelCase identifier.
lib/src/libusb_base.dart:5:16
╷
5 │ external int tv_sec;
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/libusb_base.dart
INFO: The variable name 'tv_usec' isn't a lowerCamelCase identifier.
lib/src/libusb_base.dart:8:16
╷
8 │ external int tv_usec;
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/libusb_base.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
^2.2.0 |
2.2.0 | 2.2.0 |
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.12, Dart 3.12.0.
Check the analysis log for details.