24 lines
865 B
YAML
24 lines
865 B
YAML
# flutter_rust_bridge v2 configuration
|
|
# Run from the flutter_src/ directory:
|
|
# flutter pub run flutter_rust_bridge:create --config-file ../flutter_rust_bridge.yaml
|
|
# Or after adding the dev dependency, just:
|
|
# flutter_rust_bridge_codegen generate
|
|
|
|
# The Rust crate that contains the bridge functions.
|
|
rust_crate_dir: "../crates/ccc-flutter-bridge"
|
|
|
|
# Output directories for generated Dart code.
|
|
dart_output: "lib/gen/rust"
|
|
|
|
# Output directory for generated C headers (for iOS/macOS plugin linkage).
|
|
c_output_path: "../crates/ccc-flutter-bridge/include/ccc_bridge.h"
|
|
|
|
# The Rust edition. Should match Cargo.toml.
|
|
# (Informational — FRB reads this from the crate's Cargo.toml automatically.)
|
|
|
|
# Dart class name for the generated API (defaults to RustLib).
|
|
dart_class_name: "CccBridge"
|
|
|
|
# Override how types are named in Dart (optional).
|
|
dart_enums_style: true
|