build_rust_binaries 0.1.0 copy "build_rust_binaries: ^0.1.0" to clipboard
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.

120/ 160
pub points
125
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.dart that imports:
  • package:build_rust_binaries/src/source_binaries_hook.dart that imports:
  • package:hooks/hooks.dart that imports:
  • package:hooks/src/validation.dart that imports:
  • package:hooks/src/hooks/syntax.g.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 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

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 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.

Weekly downloads

Display as:
By versions:
0
likes
120
points
125
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Topics

#rust #cross-compilation #ffi #build #hooks

License

MIT (license)

Dependencies

args, code_assets, crypto, hooks, yaml

More

Packages that depend on build_rust_binaries