dart_periphery 0.9.5 copy "dart_periphery: ^0.9.5" to clipboard
dart_periphery: ^0.9.5 copied to clipboard

dart_periphery is a Dart port of the native c-periphery library for Linux Peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO and Serial peripheral I/O).

55
likes
140/ 160
pub points
81%
popularity

We analyzed this package 27 hours ago, and awarded it 140 pub points (of a possible 160):

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/pezi/dart_periphery/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

471 out of 672 API elements (70.1 %) have documentation comments.

Some symbols that are missing documentation: dart_periphery, dart_periphery.BME280exception.errorMsg, dart_periphery.BME680.i2c, dart_periphery.BME680.i2cAddress, dart_periphery.BME680exception.errorMsg.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:dart_periphery/dart_periphery.dart that imports:
  • package:dart_periphery/src/version.dart that imports:
  • package:dart_periphery/src/signature.dart that imports:
  • package:dart_periphery/src/library.dart that imports:
  • package:dart_periphery/src/cpu_architecture.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dart_periphery/dart_periphery.dart that imports:
  • package:dart_periphery/src/version.dart that imports:
  • package:dart_periphery/src/signature.dart that imports:
  • package:dart_periphery/src/library.dart that imports:
  • package:dart_periphery/src/cpu_architecture.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

INFO: 'useSharedLibray' is deprecated and shouldn't be used. Fix typo in method name.

lib/dart_periphery.dart:88:9

   ╷
88 │         useSharedLibray,
   │         ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/dart_periphery.dart

lib/src/native/lib_base64.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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

Package Constraint Compatible Latest
collection ^1.16.0 1.19.0 1.19.0
ffi ^2.0.1 2.1.3 2.1.3
meta ^1.7.0 1.16.0 1.16.0
path ^1.8.1 1.9.0 1.9.0
process ^4.2.4 4.2.4 5.0.2
stack_trace ^1.10.0 1.11.1 1.11.1
Transitive dependencies
Package Constraint Compatible Latest
file - 6.1.4 7.0.0
platform - 3.1.5 3.1.5

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

The constraint `^4.2.4` on process does not support the stable version `5.0.0`.

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

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.22.12, Dart 3.5.2.

Check the analysis log for details.

55
likes
140
pub points
81%
popularity

Publisher

verified publisherflutterdev.at

dart_periphery is a Dart port of the native c-periphery library for Linux Peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO and Serial peripheral I/O).

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

collection, ffi, meta, path, process, stack_trace

More

Packages that depend on dart_periphery