Skip to main content

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

Rust-powered image and data kernels for Flutter and Dart over zero-copy dart:ffi: photo recoloring, flood fill, blur, SHA-256 and sorting.

0.1.0 #

  • Initial release. Rust kernels called through zero-copy dart:ffi @Native functions; a native-assets build hook runs cargo for the target platform (Android, iOS, macOS, Linux, Windows).
  • Photo recoloring: FastRust.recolorRegionRgba selects a connected region of a real image by color tolerance (magic wand) and tints it while keeping each pixel's brightness, so texture survives.
  • Pixel-art coloring: floodFillRgba (scanline bucket fill with tolerance) and coloringPageRgba (generated coloring pages).
  • Image processing: multi-threaded boxBlurRgba (O(pixels) for any radius) and grayscaleRgba.
  • sha256, sortFloat64 (IEEE-754 total order), countPrimes, dot, and a multi-threaded mandelbrotRgba.
  • ...Async variants run on a background isolate with non-leaf calls.
  • DartReference: pure-Dart versions of every kernel, used by the tests to check that Rust output matches bit for bit.
2
likes
0
points
330
downloads

Publisher

verified publisherwinterzxzz.tech

Weekly Downloads

Rust-powered image and data kernels for Flutter and Dart over zero-copy dart:ffi: photo recoloring, flood fill, blur, SHA-256 and sorting.

Homepage
Repository (GitHub)
View/report issues

Topics

#ffi #rust #performance #image-processing #native-assets

License

unknown (license)

Dependencies

code_assets, ffi, hooks

More

Packages that depend on fast_rust