native_toolchain_zig 0.1.0 copy "native_toolchain_zig: ^0.1.0" to clipboard
native_toolchain_zig: ^0.1.0 copied to clipboard

Zig support for Dart's build hooks. Automatically builds and bundles your Zig code with your Dart/Flutter application.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add native_toolchain_zig

With Flutter:

 $ flutter pub add native_toolchain_zig

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  native_toolchain_zig: ^0.1.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:native_toolchain_zig/native_toolchain_zig.dart';
0
likes
160
points
97
downloads

Documentation

API reference

Publisher

verified publisherykmnkmi.kz

Weekly Downloads

Zig support for Dart's build hooks. Automatically builds and bundles your Zig code with your Dart/Flutter application.

Repository (GitHub)
View/report issues

Topics

#zig #ffi #interop #native-assets #native-toolchain

License

MIT (license)

Dependencies

code_assets, ffi, hooks, logging, meta, path

More

Packages that depend on native_toolchain_zig