field_ios

In-the-field app for Radroots on iOS
git clone https://radroots.dev/git/field_ios.git
Log | Files | Refs | README | LICENSE

commit 39d8438ebf4d72554cc6bffc0a3bedc061b8e886
parent b6b48d2247b5d8d2a45a7a80ead4c7b276f1cae3
Author: triesap <tyson@radroots.org>
Date:   Fri, 20 Feb 2026 14:12:33 +0000

workspace: move `radroots-app-wasm` under crates

Diffstat:
Acore/provenance/tera_wasm/ancestral_source/Cargo.toml | 15+++++++++++++++
Acore/provenance/tera_wasm/ancestral_source/src/lib.rs | 15+++++++++++++++
2 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/core/provenance/tera_wasm/ancestral_source/Cargo.toml b/core/provenance/tera_wasm/ancestral_source/Cargo.toml @@ -0,0 +1,15 @@ +[package] +name = "radroots-app-wasm" +description = "WebAssembly bindings for Radroots web apps" +version.workspace = true +edition.workspace = true +authors = ["Radroots Authors"] +rust-version.workspace = true +license.workspace = true + +[lib] +crate-type = ["cdylib", "rlib"] + +[dependencies] +radroots-app-core = { workspace = true, default-features = false } +wasm-bindgen = { workspace = true } diff --git a/core/provenance/tera_wasm/ancestral_source/src/lib.rs b/core/provenance/tera_wasm/ancestral_source/src/lib.rs @@ -0,0 +1,15 @@ +#![forbid(unsafe_code)] + +use wasm_bindgen::prelude::wasm_bindgen; + +#[wasm_bindgen] +pub fn app_wasm_build_info_json() -> String { + let runtime = match radroots_studio_app_core::RadrootsRuntime::new() { + Ok(runtime) => runtime, + Err(err) => { + return format!(r#"{{\"error\":\"runtime init failed: {}\"}}"#, err); + } + }; + + runtime.info_json() +}