Description
Create the Flutter package that wraps silvestre-core via flutter_rust_bridge v2, providing a native Dart API for image processing.
Context
The Flutter package uses flutter_rust_bridge v2 for codegen, generating Dart bindings from a Rust API layer. The Rust side lives in silvestre-flutter/rust/ and depends on silvestre-core.
Tasks
Acceptance Criteria
Description
Create the Flutter package that wraps silvestre-core via
flutter_rust_bridgev2, providing a native Dart API for image processing.Context
The Flutter package uses
flutter_rust_bridgev2 for codegen, generating Dart bindings from a Rust API layer. The Rust side lives insilvestre-flutter/rust/and depends onsilvestre-core.Tasks
silvestre-flutter/package scaffold withpubspec.yamlsilvestre-flutter/rust/Cargo.tomldepending onsilvestre-coresilvestre-flutter/rust/src/api.rs— public API surface for bridge codegenflutter_rust_bridgev2 codegen (flutter_rust_bridge.yamlor equivalent)silvestre-flutter/lib/silvestre.dartwith high-level Dart API:Acceptance Criteria
flutter_rust_bridge_codegen generateruns without errorsflutter analyzepasses with no errors