dart_usb 0.0.9 copy "dart_usb: ^0.0.9" to clipboard
dart_usb: ^0.0.9 copied to clipboard

dart library for obtaining USB interface information

2
likes
115/ 160
pub points
53
downloads

We analyzed this package 4 days ago, and awarded it 115 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

56 out of 532 API elements (10.5 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: dart_usb, dart_usb.initUsbLibrary, dart_usb_bindings_generated, frb_generated, frb_generated.RustLib.instance.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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 does not support platform `Web`.

Because:

  • package:dart_usb/dart_usb.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dart_usb/dart_usb.dart that imports:
  • package:dart_usb/frb_generated.dart that imports:
  • package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart that imports:
  • package:flutter_rust_bridge/flutter_rust_bridge_for_generated_web.dart that imports:
  • package:flutter_rust_bridge/src/dart_opaque/_web.dart that imports:
  • dart:js_util

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

/tmp/pana_YTMPMU/lib/dart_usb_bindings_generated.dart doesn't match the Dart formatter.

To format your files run: dart format .

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
flutter_rust_bridge 2.3.0 2.3.0 2.9.0
freezed_annotation ^2.4.3 2.4.4 3.0.0
json_annotation ^4.9.0 4.9.0 4.9.0
meta ^1.10.0 1.16.0 1.16.0
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
build_cli_annotations - 2.1.0 2.1.0
collection - 1.19.1 1.19.1
path - 1.9.1 1.9.1
web - 1.1.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `2.3.0` on flutter_rust_bridge does not support the stable version `2.4.0`.

Try running dart pub upgrade --major-versions flutter_rust_bridge to update the constraint.

The constraint `^2.4.3` on freezed_annotation does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions freezed_annotation to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
115
points
53
downloads

Publisher

verified publisheritbug.shop

Weekly Downloads

dart library for obtaining USB interface information

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter_rust_bridge, freezed_annotation, json_annotation, meta, plugin_platform_interface

More

Packages that depend on dart_usb