commit f8cbeb5ff30463dacbcbf295faf3f0fa7e6abb74
parent 9fcdc4d89787b1b7c242838b24f59b5ba571df2d
Author: triesap <tyson@radroots.org>
Date: Thu, 11 Jun 2026 16:04:16 -0700
field: normalize imported field crate workspace
Diffstat:
6 files changed, 5 insertions(+), 33 deletions(-)
diff --git a/crates/mobile_core/src/logging.rs b/crates/mobile_core/src/logging.rs
@@ -9,6 +9,7 @@ pub fn init_logging(
let opts = radroots_log::LoggingOptions {
dir: dir.map(PathBuf::from),
file_name: file_name.unwrap_or_else(|| "radroots.log".to_string()),
+ file_layout: radroots_log::LogFileLayout::PrefixedDate,
stdout: is_stdout.unwrap_or(true),
default_level: None,
};
diff --git a/crates/mobile_ffi/Cargo.toml b/crates/mobile_ffi/Cargo.toml
@@ -1,22 +0,0 @@
-[package]
-name = "radroots-app-ffi"
-description = "Native FFI bindings for Radroots mobile apps"
-version.workspace = true
-edition.workspace = true
-authors = ["Radroots Authors"]
-rust-version.workspace = true
-license.workspace = true
-
-[lib]
-crate-type = ["staticlib", "cdylib"]
-
-[[bin]]
-name = "uniffi-bindgen"
-path = "bin/uniffi-bindgen.rs"
-
-[build-dependencies]
-uniffi_build = { workspace = true }
-
-[dependencies]
-radroots-app = { workspace = true }
-uniffi = { workspace = true, features = ["cli"] }
diff --git a/crates/mobile_ffi/bin/uniffi-bindgen.rs b/crates/mobile_ffi/bin/uniffi-bindgen.rs
@@ -1,3 +0,0 @@
-fn main() {
- uniffi::uniffi_bindgen_main()
-}
diff --git a/crates/mobile_ffi/src/lib.rs b/crates/mobile_ffi/src/lib.rs
@@ -1 +0,0 @@
-radroots_studio_app::uniffi_reexport_scaffolding!();
diff --git a/crates/mobile_ffi/uniffi.toml b/crates/mobile_ffi/uniffi.toml
@@ -1,3 +0,0 @@
-[bindings.swift]
-module_name = "RadrootsKitBindings"
-ffi_module_name = "RadrootsFFI"
diff --git a/crates/mobile_wasm/src/lib.rs b/crates/mobile_wasm/src/lib.rs
@@ -3,7 +3,7 @@
use wasm_bindgen::prelude::wasm_bindgen;
#[wasm_bindgen]
-pub fn app_wasm_build_info_json() -> String {
+pub fn field_wasm_build_info_json() -> String {
let runtime = radroots_app_core::RadrootsRuntime::new()
.expect("runtime init must succeed with radroots_app_core no-default-features");
runtime.info_json()
@@ -15,11 +15,11 @@ pub fn coverage_branch_probe(input: bool) -> &'static str {
#[cfg(test)]
mod tests {
- use super::{app_wasm_build_info_json, coverage_branch_probe};
+ use super::{coverage_branch_probe, field_wasm_build_info_json};
#[test]
- fn app_wasm_build_info_json_contains_runtime_keys() {
- let json = app_wasm_build_info_json();
+ fn field_wasm_build_info_json_contains_runtime_keys() {
+ let json = field_wasm_build_info_json();
assert!(json.contains("\"app\""));
}