build_rust_binaries 0.1.0
build_rust_binaries: ^0.1.0 copied to clipboard
Dart build hooks and CLI for building Rust locally or automatically in CI/CD and retrieving Rust binaries from a CDN like those built in Github Actions for a Github Releases.
We analyzed this package 3 days ago, and awarded it 120 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
65 out of 109 API elements (59.6 %) have documentation comments.
Some symbols that are missing documentation: build_rust_binaries.BuildBinariesOutput, build_rust_binaries.BuildBinariesOutput.BuildBinariesOutput.fromJson, build_rust_binaries.BuildBinariesOutput.BuildBinariesOutput.new, build_rust_binaries.BuildBinariesOutput.toJson, build_rust_binaries.BuildBinariesParams.BuildBinariesParams.fromJson.
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:build_rust_binaries/build_rust_binaries.dartthat imports:package:build_rust_binaries/src/source_binaries_hook.dartthat imports:package:hooks/hooks.dartthat imports:package:hooks/src/validation.dartthat imports:package:hooks/src/hooks/syntax.g.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Angle brackets will be interpreted as HTML.
lib/src/build_binaries_cli.dart:35:75
╷
35 │ /// Default Android version for the build as integer or comma separated <target>=<version>
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/build_binaries_cli.dart
INFO: Angle brackets will be interpreted as HTML.
lib/src/build_binaries_cli.dart:35:84
╷
35 │ /// Default Android version for the build as integer or comma separated <target>=<version>
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/build_binaries_cli.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
^2.4.0 |
2.7.0 | 2.7.0 | |
code_assets |
^1.0.0 |
1.0.0 | 1.2.1 | |
crypto |
^3.0.0 |
3.0.7 | 3.0.7 | |
hooks |
^1.0.0 |
1.0.3 | 2.1.0 | |
yaml |
^3.1.0 |
3.1.3 | 3.1.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
logging |
- | 1.3.0 | 1.3.0 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
record_use |
- | 0.6.0 | 1.0.0 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.0.0` on hooks does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions hooks to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 1 error:
UNDEFINED_METHOD-lib/src/build_binaries_cli.dart:473:30- The method 'flag' isn't defined for the type 'ArgResults'.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.14, Dart 3.12.2.
Check the analysis log for details.