Skip to main content

prebuilt_code_assets 0.1.2 copy "prebuilt_code_assets: ^0.1.2" to clipboard
prebuilt_code_assets: ^0.1.2 copied to clipboard

Shared build and link hook infrastructure for Dart packages with prebuilt and source-built native code assets, tree-shaking link hooks, and release tooling.

130/ 160
pub points
68
downloads

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

Failed report section
Follow Dart file conventions
20 / 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

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

73 out of 80 API elements (91.3 %) have documentation comments.

Some symbols that are missing documentation: prebuilt_code_assets.BuildOptions.BuildOptions.new, prebuilt_code_assets.BuildOptions.buildMode, prebuilt_code_assets.BuildOptions.checkoutPath, prebuilt_code_assets.BuildOptions.localPath, prebuilt_code_assets.CargoSourceBuilder.CargoSourceBuilder.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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:prebuilt_code_assets/prebuilt_code_assets.dart that imports:
  • package:prebuilt_code_assets/src/targets.dart that imports:
  • package:code_assets/code_assets.dart that imports:
  • package:code_assets/src/code_assets/testing.dart that imports:
  • package:code_assets/src/code_assets/os.dart that imports:
  • package:code_assets/src/code_assets/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: 'targetVersion' is deprecated and shouldn't be used. Use deploymentVersion instead.

lib/src/prebuilt_library.dart:516:19

    ╷
516 │                   targetVersion: iOSTargetVersion,
    │                   ^^^^^^^^^^^^^
    ╵

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

INFO: 'targetVersion' is deprecated and shouldn't be used. Use deploymentVersion instead.

lib/src/prebuilt_library.dart:518:34

    ╷
518 │           macOS: MacOSCodeConfig(targetVersion: macOSTargetVersion),
    │                                  ^^^^^^^^^^^^^
    ╵

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

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

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
args ^2.7.0 2.7.0 2.7.0
code_assets ^2.1.0 2.2.0 2.2.0
crypto ^3.0.7 3.0.8 3.0.8
hooks ^2.2.0 2.2.0 2.2.0
logging ^1.3.0 1.3.0 1.3.0
meta ^1.19.0 1.19.0 1.19.0
native_toolchain_c ^0.19.4 0.19.6 0.19.6
record_use ^1.1.0 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
collection - 1.19.1 1.19.1
file - 7.0.1 7.0.1
glob - 2.2.0 2.2.0
path - 1.9.1 1.9.1
platform - 3.2.0 3.2.0
process - 5.0.6 5.0.6
pub_semver - 2.2.1 2.2.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
yaml - 3.1.4 3.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Dart 3.13.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
68
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Shared build and link hook infrastructure for Dart packages with prebuilt and source-built native code assets, tree-shaking link hooks, and release tooling.

Repository (GitHub)
View/report issues

Topics

#ffi #hooks #code-assets #native-assets

License

unknown (license)

Dependencies

args, code_assets, crypto, hooks, logging, meta, native_toolchain_c, record_use

More

Packages that depend on prebuilt_code_assets