
Major changes: • Remove Android support completely (deleted bindings/android/) • Modularize uniffi_wrapper.rs (1,756→5 lines, split into focused modules) • Reduce DRY violations in api.rs (620→292 lines) • Fix all 20+ compilation errors to achieve clean build Structural improvements: • Split uniffi_wrapper into specialized modules: events, sermons, bible, contact, config, streaming, parsing • Clean up dependencies (remove unused Android/JNI deps) • Consolidate duplicate API functions • Standardize error handling and validation Bug fixes: • Add missing ClientEvent fields (image_url, is_upcoming, is_today) • Fix method name mismatches (update_bulletin→update_admin_bulletin) • Correct ValidationResult struct (use errors field) • Resolve async/await issues in bible.rs • Fix event conversion type mismatches • Add missing EventSubmission.image_mime_type field The codebase now compiles cleanly with only warnings and is ready for further modular improvements.
22 lines
404 B
Rust
22 lines
404 B
Rust
pub mod client;
|
|
pub mod models;
|
|
pub mod auth;
|
|
pub mod cache;
|
|
pub mod utils;
|
|
pub mod error;
|
|
pub mod config;
|
|
pub mod api;
|
|
pub mod uniffi;
|
|
pub use client::ChurchApiClient;
|
|
pub use config::ChurchCoreConfig;
|
|
pub use error::{ChurchApiError, Result};
|
|
pub use models::*;
|
|
pub use cache::*;
|
|
pub use api::*;
|
|
|
|
|
|
#[cfg(feature = "uniffi")]
|
|
pub mod uniffi_wrapper;
|
|
|
|
#[cfg(feature = "uniffi")]
|
|
pub use uniffi_wrapper::*; |