Crates.io | dart-bindgen |
lib.rs | dart-bindgen |
version | 0.1.9-deprecated |
source | src |
created_at | 2020-06-17 09:19:56.952526 |
updated_at | 2021-04-14 12:27:00.434029 |
description | A tool for generating Dart FFI bindings to C Header file. |
homepage | https://github.com/sunshine-protocol/dart-bindgen |
repository | https://github.com/sunshine-protocol/dart-bindgen |
max_upload_size | |
id | 254867 |
size | 109,342 |
ffi.dart
file that should contain all the C header bindings.Writing a High-Level Abstractions and idiomatic Dart Code for the FFI bindgens, we will leave that as a homework for the user :).
Make sure you have installed the dependencies:
brew install llvm
Download a prebuild from here
you know what to do ;)
and then you could install the CLI from github releases or you could also use cargo to build it from source:
$ cargo install --force dart-bindgen --features cli
This crate uses #![deny(unsafe_code)]
to ensure everything is implemented in
100% Safe Rust.
Want to join us? Check out our "Contributing" guide and take a look at some of these issues: