Initial IronStorage project structure

This commit is contained in:
2026-08-09 20:37:58 +02:00
commit fa3bb44771
29 changed files with 7204 additions and 0 deletions

15
crates/apple/Cargo.toml Normal file
View File

@@ -0,0 +1,15 @@
[package]
name = "ironstorage-apple"
description = "UniFFI boundary between IronStorage and its Apple frontends"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
publish = false
[lib]
name = "ironstorage_apple"
crate-type = ["lib", "staticlib", "cdylib"]
[dependencies]
ironstorage.workspace = true
uniffi.workspace = true

19
crates/apple/src/lib.rs Normal file
View File

@@ -0,0 +1,19 @@
#![forbid(unsafe_code)]
#![deny(clippy::disallowed_types)]
//! Mechanical UniFFI exports for Apple presentation code.
uniffi::setup_scaffolding!();
#[uniffi::export]
pub fn product_name() -> String {
ironstorage::PRODUCT_NAME.to_owned()
}
#[cfg(test)]
mod tests {
#[test]
fn bridge_reads_product_name_from_storage_crate() {
assert_eq!(super::product_name(), ironstorage::PRODUCT_NAME);
}
}