commit 4f142099b8a2cd44d8920f8d63f4d414ee0cd946
parent f2d23114103a7f07810721f98abf1855bd6014bf
Author: triesap <tyson@radroots.org>
Date: Mon, 3 Aug 2026 16:13:57 +0000
app-rt: finalize packaged sdk integration
- Isolate UniFFI bindgen tooling from production FFI dependencies
- Make package metadata and embedded provenance reproducible
- Verify path-free core and FFI archives against the local registry
- Rebuild native artifacts and generated bindings byte-for-byte
Diffstat:
2 files changed, 5 insertions(+), 27 deletions(-)
diff --git a/core/crates/tera_ffi/Cargo.toml b/core/crates/tera_ffi/Cargo.toml
@@ -6,7 +6,11 @@ edition.workspace = true
authors = ["Radroots Authors"]
rust-version.workspace = true
license.workspace = true
+repository.workspace = true
+homepage.workspace = true
+readme.workspace = true
publish = false
+include = ["src/**", "uniffi.toml", "Cargo.toml"]
[lib]
crate-type = ["staticlib", "cdylib"]
@@ -14,13 +18,6 @@ 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"] }
+uniffi = { workspace = true }
diff --git a/core/crates/tera_ffi/bin/uniffi-bindgen.rs b/core/crates/tera_ffi/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();
- }
-}