dart_llama 0.1.2
dart_llama: ^0.1.2 copied to clipboard
A Dart package for interfacing with llama.cpp models using FFI
We analyzed this package 2 days 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
34 out of 34 API elements (100.0 %) have documentation comments.
10/10 points: Package has an example
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_llama/dart_llama.dartthat imports:package:dart_llama/src/llama_model.dartthat imports:package:dart_llama/src/ffi/llama_bindings_generated.dartthat imports:dart:ffi
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 60 issues. Showing the first 2:
WARNING: The declaration '__mbstate_t' isn't referenced.
lib/src/ffi/llama_bindings_generated.dart:523:13
╷
523 │ final class __mbstate_t extends ffi.Union {
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/ffi/llama_bindings_generated.dart
WARNING: The value of the field '__mbstate8' isn't used.
lib/src/ffi/llama_bindings_generated.dart:525:32
╷
525 │ external ffi.Array<ffi.Char> __mbstate8;
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/ffi/llama_bindings_generated.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
^2.1.0 |
2.1.5 | 2.1.5 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 |
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.9, Dart 3.10.8.
Check the analysis log for details.