OXYGENHUB
# e2df27a81e5d oxygenhub-android / rust-core / src / lib.rs
419 B · Rust · last changed Set the project up properly (closes #1) 11 days ago source blame history raw
57c08243 Andy McCall ↶ 1
uniffi::setup_scaffolding!();
2
3
// A simple test function to ensure the Kotlin <-> Rust bridge is working
4
// We will eventually wrap oxy_core functions here.
5
#[uniffi::export]
6
pub fn oxygen_greeting(name: String) -> String {
7
    format!("Hello, {}! Oxygen Native Core is active.", name)
8
}
9
10
// In the future, we can add functions like:
11
// #[uniffi::export]
12
// pub fn get_repo_status(path: String) -> StatusResult { ... }