lib_mlx 0.0.1
lib_mlx: ^0.0.1 copied to clipboard
iOS-only Flutter FFI management bridge for a local MLX OpenAI server.
We analyzed this package 2 days ago, and awarded it 145 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 2 links are insecure.
README.md:50:39
╷
50 │ <p>The native interface is defined in <a href="file:///Users/gao/Workspace/gsmlg-app/lib_mlx/src/lib_mlx.h">src/lib_mlx.h</a>. All methods return dynamically allocated JSON strings that must be freed using <code>lib_mlx_free</code>.</p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https URLs instead.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
9 out of 78 API elements (11.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: lib_mlx, lib_mlx.LibMlxOpenAiClient, lib_mlx.LibMlxOpenAiClient.LibMlxOpenAiClient.new, lib_mlx.LibMlxOpenAiClient.apiKey, lib_mlx.LibMlxOpenAiClient.chatCompletions.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ iOS
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:lib_mlx/lib_mlx.dartthat declares support for platforms:iOS.
Package does not support platform `Windows`.
Because:
package:lib_mlx/lib_mlx.dartthat declares support for platforms:iOS.
Package does not support platform `Linux`.
Because:
package:lib_mlx/lib_mlx.dartthat declares support for platforms:iOS.
Package does not support platform `macOS`.
Because:
package:lib_mlx/lib_mlx.dartthat declares support for platforms:iOS.
Package does not support platform `Web`.
Because:
package:lib_mlx/lib_mlx.dartthat declares support for platforms:iOS.
50/50 points: code has no errors, warnings, lints, or formatting issues
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
^2.2.0 |
2.2.0 | 2.2.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.18.2 | |
vector_math |
- | 2.2.0 | 2.4.0 |
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.12, Flutter 3.44.0, Dart 3.12.0.
Check the analysis log for details.