[fp-rs] Initial Rust dummy commit for Flutter UI demo

This commit is contained in:
Lucas Silva Shepard
2023-08-02 12:25:48 -07:00
parent c45dd7467d
commit d7aedea815
3 changed files with 16 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
[package]
name = "rust"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["lib", "cdylib", "staticlib"]
[dependencies]
flutter_rust_bridge = "1"
+3
View File
@@ -0,0 +1,3 @@
pub fn hello() -> String {
String::from("Rust says hi!")
}
+1
View File
@@ -0,0 +1 @@
mod api;