Proof-of-concept proving the Flutter/Rust bridge exit criterion from docs/architecture/proof-of-concept-plan.md §2: "Flutter can call Rust and receive event stream data." The spike exposes one synchronous fallible command (greet) returning a typed GreetResult / GreetError DTO, and one async event stream (counter_stream) emitting typed CounterTick events. The Flutter app demonstrates both flows on a Material 3 surface; the headless test suite in test/poc_verification_test.dart exercises the same API directly through dart:ffi. Verified on 2026-05-13 (Linux desktop, Flutter 3.41.9 / Dart 3.11.5, flutter_rust_bridge 2.12.0, Rust 1.95). All three tests pass: - greet() returns typed result for valid input - greet() surfaces typed error for empty input - counterStream() delivers the expected event sequence Authority: PoC plan §2, DEC-014 (typed Flutter/Rust bridge), SAD-068, SDD-079, SysDes-049. Naming note: the PoC plan lists this as flutter-rust-bridge-hello, but Dart pubspec.yaml package names require underscores; the directory uses underscores accordingly. Not product code; not promoted into chanora_bridge. Layout note: includes the full Flutter platform scaffold (android, ios, macos, windows, web, linux). Only the Linux desktop target has been built and verified.
316 lines
8.7 KiB
Plaintext
316 lines
8.7 KiB
Plaintext
# Generated by pub
|
|
# See https://dart.dev/tools/pub/glossary#lockfile
|
|
packages:
|
|
args:
|
|
dependency: transitive
|
|
description:
|
|
name: args
|
|
sha256: d0481093c50b1da8910eb0bb301626d4d8eb7284aa739614d2b394ee09e3ea04
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "2.7.0"
|
|
async:
|
|
dependency: transitive
|
|
description:
|
|
name: async
|
|
sha256: e2eb0491ba5ddb6177742d2da23904574082139b07c1e33b8503b9f46f3e1a37
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "2.13.1"
|
|
boolean_selector:
|
|
dependency: transitive
|
|
description:
|
|
name: boolean_selector
|
|
sha256: "8aab1771e1243a5063b8b0ff68042d67334e3feab9e95b9490f9a6ebf73b42ea"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "2.1.2"
|
|
build_cli_annotations:
|
|
dependency: transitive
|
|
description:
|
|
name: build_cli_annotations
|
|
sha256: e563c2e01de8974566a1998410d3f6f03521788160a02503b0b1f1a46c7b3d95
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "2.1.1"
|
|
characters:
|
|
dependency: transitive
|
|
description:
|
|
name: characters
|
|
sha256: faf38497bda5ead2a8c7615f4f7939df04333478bf32e4173fcb06d428b5716b
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "1.4.1"
|
|
clock:
|
|
dependency: transitive
|
|
description:
|
|
name: clock
|
|
sha256: fddb70d9b5277016c77a80201021d40a2247104d9f4aa7bab7157b7e3f05b84b
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "1.1.2"
|
|
collection:
|
|
dependency: transitive
|
|
description:
|
|
name: collection
|
|
sha256: "2f5709ae4d3d59dd8f7cd309b4e023046b57d8a6c82130785d2b0e5868084e76"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "1.19.1"
|
|
cupertino_icons:
|
|
dependency: "direct main"
|
|
description:
|
|
name: cupertino_icons
|
|
sha256: "41e005c33bd814be4d3096aff55b1908d419fde52ca656c8c47719ec745873cd"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "1.0.9"
|
|
fake_async:
|
|
dependency: transitive
|
|
description:
|
|
name: fake_async
|
|
sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "1.3.3"
|
|
file:
|
|
dependency: transitive
|
|
description:
|
|
name: file
|
|
sha256: a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "7.0.1"
|
|
flutter:
|
|
dependency: "direct main"
|
|
description: flutter
|
|
source: sdk
|
|
version: "0.0.0"
|
|
flutter_driver:
|
|
dependency: transitive
|
|
description: flutter
|
|
source: sdk
|
|
version: "0.0.0"
|
|
flutter_lints:
|
|
dependency: "direct dev"
|
|
description:
|
|
name: flutter_lints
|
|
sha256: "3105dc8492f6183fb076ccf1f351ac3d60564bff92e20bfc4af9cc1651f4e7e1"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "6.0.0"
|
|
flutter_rust_bridge:
|
|
dependency: "direct main"
|
|
description:
|
|
name: flutter_rust_bridge
|
|
sha256: e87d6b9ee934dcd24a128ccb2bd91905d2d5fe5c06245d6a8f5477d4907a437a
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "2.12.0"
|
|
flutter_test:
|
|
dependency: "direct dev"
|
|
description: flutter
|
|
source: sdk
|
|
version: "0.0.0"
|
|
fuchsia_remote_debug_protocol:
|
|
dependency: transitive
|
|
description: flutter
|
|
source: sdk
|
|
version: "0.0.0"
|
|
integration_test:
|
|
dependency: "direct dev"
|
|
description: flutter
|
|
source: sdk
|
|
version: "0.0.0"
|
|
leak_tracker:
|
|
dependency: transitive
|
|
description:
|
|
name: leak_tracker
|
|
sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "11.0.2"
|
|
leak_tracker_flutter_testing:
|
|
dependency: transitive
|
|
description:
|
|
name: leak_tracker_flutter_testing
|
|
sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "3.0.10"
|
|
leak_tracker_testing:
|
|
dependency: transitive
|
|
description:
|
|
name: leak_tracker_testing
|
|
sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "3.0.2"
|
|
lints:
|
|
dependency: transitive
|
|
description:
|
|
name: lints
|
|
sha256: "12f842a479589fea194fe5c5a3095abc7be0c1f2ddfa9a0e76aed1dbd26a87df"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "6.1.0"
|
|
matcher:
|
|
dependency: transitive
|
|
description:
|
|
name: matcher
|
|
sha256: dc0b7dc7651697ea4ff3e69ef44b0407ea32c487a39fff6a4004fa585e901861
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "0.12.19"
|
|
material_color_utilities:
|
|
dependency: transitive
|
|
description:
|
|
name: material_color_utilities
|
|
sha256: "9c337007e82b1889149c82ed242ed1cb24a66044e30979c44912381e9be4c48b"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "0.13.0"
|
|
meta:
|
|
dependency: transitive
|
|
description:
|
|
name: meta
|
|
sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "1.17.0"
|
|
path:
|
|
dependency: transitive
|
|
description:
|
|
name: path
|
|
sha256: "75cca69d1490965be98c73ceaea117e8a04dd21217b37b292c9ddbec0d955bc5"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "1.9.1"
|
|
platform:
|
|
dependency: transitive
|
|
description:
|
|
name: platform
|
|
sha256: "5d6b1b0036a5f331ebc77c850ebc8506cbc1e9416c27e59b439f917a902a4984"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "3.1.6"
|
|
plugin_platform_interface:
|
|
dependency: transitive
|
|
description:
|
|
name: plugin_platform_interface
|
|
sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "2.1.8"
|
|
process:
|
|
dependency: transitive
|
|
description:
|
|
name: process
|
|
sha256: c6248e4526673988586e8c00bb22a49210c258dc91df5227d5da9748ecf79744
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "5.0.5"
|
|
rust_lib_flutter_rust_bridge_hello:
|
|
dependency: "direct main"
|
|
description:
|
|
path: rust_builder
|
|
relative: true
|
|
source: path
|
|
version: "0.0.1"
|
|
sky_engine:
|
|
dependency: transitive
|
|
description: flutter
|
|
source: sdk
|
|
version: "0.0.0"
|
|
source_span:
|
|
dependency: transitive
|
|
description:
|
|
name: source_span
|
|
sha256: "56a02f1f4cd1a2d96303c0144c93bd6d909eea6bee6bf5a0e0b685edbd4c47ab"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "1.10.2"
|
|
stack_trace:
|
|
dependency: transitive
|
|
description:
|
|
name: stack_trace
|
|
sha256: "8b27215b45d22309b5cddda1aa2b19bdfec9df0e765f2de506401c071d38d1b1"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "1.12.1"
|
|
stream_channel:
|
|
dependency: transitive
|
|
description:
|
|
name: stream_channel
|
|
sha256: "969e04c80b8bcdf826f8f16579c7b14d780458bd97f56d107d3950fdbeef059d"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "2.1.4"
|
|
string_scanner:
|
|
dependency: transitive
|
|
description:
|
|
name: string_scanner
|
|
sha256: "921cd31725b72fe181906c6a94d987c78e3b98c2e205b397ea399d4054872b43"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "1.4.1"
|
|
sync_http:
|
|
dependency: transitive
|
|
description:
|
|
name: sync_http
|
|
sha256: "7f0cd72eca000d2e026bcd6f990b81d0ca06022ef4e32fb257b30d3d1014a961"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "0.3.1"
|
|
term_glyph:
|
|
dependency: transitive
|
|
description:
|
|
name: term_glyph
|
|
sha256: "7f554798625ea768a7518313e58f83891c7f5024f88e46e7182a4558850a4b8e"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "1.2.2"
|
|
test_api:
|
|
dependency: transitive
|
|
description:
|
|
name: test_api
|
|
sha256: "8161c84903fd860b26bfdefb7963b3f0b68fee7adea0f59ef805ecca346f0c7a"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "0.7.10"
|
|
vector_math:
|
|
dependency: transitive
|
|
description:
|
|
name: vector_math
|
|
sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "2.2.0"
|
|
vm_service:
|
|
dependency: transitive
|
|
description:
|
|
name: vm_service
|
|
sha256: "0016aef94fc66495ac78af5859181e3f3bf2026bd8eecc72b9565601e19ab360"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "15.2.0"
|
|
web:
|
|
dependency: transitive
|
|
description:
|
|
name: web
|
|
sha256: "868d88a33d8a87b18ffc05f9f030ba328ffefba92d6c127917a2ba740f9cfe4a"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "1.1.1"
|
|
webdriver:
|
|
dependency: transitive
|
|
description:
|
|
name: webdriver
|
|
sha256: "2f3a14ca026957870cfd9c635b83507e0e51d8091568e90129fbf805aba7cade"
|
|
url: "https://pub.dev"
|
|
source: hosted
|
|
version: "3.1.0"
|
|
sdks:
|
|
dart: ">=3.11.5 <4.0.0"
|
|
flutter: ">=3.18.0-18.0.pre.54"
|