record_use 1.0.0 copy "record_use: ^1.0.0" to clipboard
record_use: ^1.0.0 copied to clipboard

Dart API to access `@RecordUse()` recorded usages in link hooks.

example/README.md

Examples #

The following complete examples use link hooks (hook/link.dart) and package:record_use to tree-shake native C libraries (LinkerOptions.treeshake):

Example Description Used Features
mini_audio Play audio. - Tree-shaking C library built from source with package:native_toolchain_c based on recorded Dart calls.
- Link hook (hook/link.dart) with LinkerOptions.treeshake.
sqlite Database access. - Tree-shaking C library built from source with package:native_toolchain_c based on recorded Dart calls.
- Link hook (hook/link.dart) with LinkerOptions.treeshake.
stb_image Read image metadata. - Tree-shaking C library built from source with package:native_toolchain_c based on recorded Dart calls.
- Link hook (hook/link.dart) with LinkerOptions.treeshake.
4
likes
160
points
4.84M
downloads

Documentation

API reference

Publisher

verified publisherdart.dev

Weekly Downloads

Dart API to access `@RecordUse()` recorded usages in link hooks.

Repository (GitHub)
View/report issues
Contributing

License

BSD-3-Clause (license)

Dependencies

collection, meta, pub_semver

More

Packages that depend on record_use