mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
[fp-rs] Initial Rust dummy commit for Flutter UI demo
This commit is contained in:
@@ -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"
|
||||
@@ -0,0 +1,3 @@
|
||||
pub fn hello() -> String {
|
||||
String::from("Rust says hi!")
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
mod api;
|
||||
Reference in New Issue
Block a user