1 # flutter_rust_bridge codegen configuration
2 # Run from the package root (onde/sdk/dart/):
3 # flutter_rust_bridge_codegen generate
4
5 # Rust crate root (relative to this config file)
6 rust_root: "rust"
7
8 # Module path syntax required by FRB 2.x
9 rust_input: "crate::api"
10
11 # Generated Dart output — replaces the pre-codegen stub
12 dart_output: "lib/src/frb_generated.dart"
13
14 # Dart entrypoint class name used by RustLib.init()
15 dart_entrypoint_class_name: RustLib
16
17 # Suppress lint warnings in generated Dart code
18 dart_preamble: |
19 // ignore_for_file: type=lint, unused_import, unnecessary_import
20
21 # Web is not supported — on-device LLM inference requires native system access
22 web: false