l2ethernet 0.3.0 copy "l2ethernet: ^0.3.0" to clipboard
l2ethernet: ^0.3.0 copied to clipboard

PlatformLinux
outdated

Sending raw Ethernet frames in Dart via FFI. Usable for generating WOL packets or non-standard protocols running on Ethernet. Sending only. Linux only.

1
likes
130/ 160
pub points
28%
popularity

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

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

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

6 out of 8 API elements (75.0 %) have documentation comments.

Some symbols that are missing documentation: l2ethernet, l2ethernet.L2Ethernet.socketData.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:l2ethernet/l2ethernet.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

Because:

  • package:l2ethernet/l2ethernet.dart that declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • package:l2ethernet/l2ethernet.dart that declares support for platforms: Linux.
Package does not support platform `Web`.

Because:

  • package:l2ethernet/l2ethernet.dart that declares support for platforms: Linux.
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 25 issues. Showing the first 2:

WARNING: The name Directory is shown, but isn't used.

lib/src/l2ethernet.dart:2:23

  ╷
2 │ import 'dart:io' show Directory, Process;
  │                       ^^^^^^^^^
  ╵

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

WARNING: Unused import: 'package:path/path.dart'.

lib/src/l2ethernet.dart:3:8

  ╷
3 │ import 'package:path/path.dart' as path;
  │        ^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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
ffi ^1.1.2 1.2.1 2.1.2
path ^1.8.1 1.9.0 1.9.0

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.22.6, Dart 3.4.3.

Check the analysis log for details.

1
likes
130
pub points
28%
popularity

Publisher

unverified uploader

Sending raw Ethernet frames in Dart via FFI. Usable for generating WOL packets or non-standard protocols running on Ethernet. Sending only. Linux only.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

ffi, path

More

Packages that depend on l2ethernet