Crates.io | dart |
lib.rs | dart |
version | 0.1.1 |
source | src |
created_at | 2020-03-25 16:50:07.46632 |
updated_at | 2020-03-25 18:56:41.759815 |
description | Idiomatic bindings to the dart native extensions api |
homepage | |
repository | https://github.com/OptimisticPeach/dart_rs |
max_upload_size | |
id | 222714 |
size | 209,902 |
dart
Idiomatic Bindings to the Dart Native Extensions API
This crate serves three purposes:
/src
, and are essentially light wrappers
around the raw api./src/dart_types
, and provide rust-like semantics for dart operations, operators,
functions, etc.export_dart_functions
and
create_init_function
.Usage of the macros to expose correct functionality can be seen in the examples, with both the async and sync functions being exposed.
Note, that the creation of libraries using this crate must undergo the same process
as described in dart_sys
's readme.