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 8c519a6be270937512e29c2b60f9769dd4148551
parent 9bba5bc3f866cf7c6b18bff2310ad4166050e4a3
Author: triesap <tyson@radroots.org>
Date:   Sat, 28 Feb 2026 20:32:40 +0000

app: remove deprecated swift ffi crate


- remove the app-ffi-swift crate sources from the workspace
- drop `radroots-app-ffi-swift` from workspace dependencies and release/coverage contracts
- renumber coverage rollout ordering after removing the crate entry
- regenerate cargo.lock and validate with cargo check and cargo test

Diffstat:
Dcore/provenance/tera_ffi/ancestral_source/Cargo.toml | 25-------------------------
Dcore/provenance/tera_ffi/ancestral_source/bin/uniffi-bindgen.rs | 19-------------------
Dcore/provenance/tera_ffi/ancestral_source/src/lib.rs | 16----------------
Dcore/provenance/tera_ffi/ancestral_source/uniffi.toml | 3---
4 files changed, 0 insertions(+), 63 deletions(-)

diff --git a/core/provenance/tera_ffi/ancestral_source/Cargo.toml b/core/provenance/tera_ffi/ancestral_source/Cargo.toml @@ -1,25 +0,0 @@ -[package] -name = "radroots-app-ffi-swift" -version.workspace = true -edition.workspace = true -authors = ["Radroots Authors"] -rust-version.workspace = true -license.workspace = true -publish = false - -[lib] -crate-type = ["staticlib", "cdylib"] - -[lints.rust] -unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] } - -[[bin]] -name = "uniffi-bindgen" -path = "bin/uniffi-bindgen.rs" - -[build-dependencies] -uniffi_build = { workspace = true } - -[dependencies] -radroots-app-core = { workspace = true } -uniffi = { workspace = true, features = ["cli"] } diff --git a/core/provenance/tera_ffi/ancestral_source/bin/uniffi-bindgen.rs b/core/provenance/tera_ffi/ancestral_source/bin/uniffi-bindgen.rs @@ -1,19 +0,0 @@ -fn main() { - run_bindgen(); -} - -#[cfg(not(coverage_nightly))] -fn run_bindgen() { - uniffi::uniffi_bindgen_main() -} - -#[cfg(coverage_nightly)] -fn run_bindgen() {} - -#[cfg(all(test, coverage_nightly))] -mod tests { - #[test] - fn main_is_callable_in_coverage_builds() { - super::main(); - } -} diff --git a/core/provenance/tera_ffi/ancestral_source/src/lib.rs b/core/provenance/tera_ffi/ancestral_source/src/lib.rs @@ -1,16 +0,0 @@ -radroots_studio_app_core::uniffi_reexport_scaffolding!(); - -pub fn coverage_branch_probe(input: bool) -> &'static str { - if input { "ffi-swift" } else { "ffi-swift" } -} - -#[cfg(test)] -mod tests { - use super::coverage_branch_probe; - - #[test] - fn coverage_branch_probe_hits_both_paths() { - assert_eq!(coverage_branch_probe(true), "ffi-swift"); - assert_eq!(coverage_branch_probe(false), "ffi-swift"); - } -} diff --git a/core/provenance/tera_ffi/ancestral_source/uniffi.toml b/core/provenance/tera_ffi/ancestral_source/uniffi.toml @@ -1,3 +0,0 @@ -[bindings.swift] -module_name = "RadrootsKitBindings" -ffi_module_name = "RadrootsFFI"