l2ethernet 0.3.1
l2ethernet: ^0.3.1 copied to clipboard
Sending raw Ethernet frames in Dart via FFI. Usable for generating WOL packets or non-standard protocols running on Ethernet. Sending only. Linux only.
We analyzed this package 17 hours ago, and awarded it 140 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: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
6 out of 10 API elements (60.0 %) have documentation comments.
Some symbols that are missing documentation: l2ethernet, l2ethernet.L2Ethernet.L2Ethernet.new, l2ethernet.L2Ethernet.getSharedLibLocation, l2ethernet.L2Ethernet.socketData.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Linux
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:l2ethernet/l2ethernet.dartthat declares support for platforms:Linux.
Package does not support platform `iOS`.
Because:
package:l2ethernet/l2ethernet.dartthat declares support for platforms:Linux.
Package does not support platform `Windows`.
Because:
package:l2ethernet/l2ethernet.dartthat declares support for platforms:Linux.
Package does not support platform `macOS`.
Because:
package:l2ethernet/l2ethernet.dartthat declares support for platforms:Linux.
Package does not support platform `Web`.
Because:
package:l2ethernet/l2ethernet.dartthat declares support for platforms:Linux.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 26 issues. Showing the first 2:
INFO: The variable name 'socket_open' isn't a lowerCamelCase identifier.
lib/src/eth_bindings.dart:21:7
╷
21 │ int socket_open(
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/eth_bindings.dart
INFO: The variable name '_socket_openPtr' isn't a lowerCamelCase identifier.
lib/src/eth_bindings.dart:29:14
╷
29 │ late final _socket_openPtr =
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/eth_bindings.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
^1.1.2 |
1.2.1 | 2.2.0 | |
path |
^1.8.1 |
1.9.1 | 1.9.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.1.2` on ffi does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions ffi 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.23.10, Dart 3.11.1.
Check the analysis log for details.