flutter_rust_bridge 2.14.0-beta.1

Flutter/Dart <-> Rust binding generator, feature-rich, but seamless and simple
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub const FLUTTER_RUST_BRIDGE_RUNTIME_VERSION: &str = env!("CARGO_PKG_VERSION");

#[cfg(test)]
mod tests {
    /// Matches the runtime version constant to the package metadata.
    #[test]
    fn test_runtime_version_matches_package_version() {
        assert_eq!(
            super::FLUTTER_RUST_BRIDGE_RUNTIME_VERSION,
            env!("CARGO_PKG_VERSION")
        );
    }
}