1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
//! # OxiGDAL Edge Computing Platform
//!
//! `oxigdal-edge` provides edge computing capabilities for geospatial data processing
//! with a focus on:
//! - Minimal binary footprint for embedded deployment
//! - Offline-first architecture with local caching
//! - Edge-to-cloud synchronization with conflict resolution
//! - Resource-constrained device support
//!
//! ## Features
//!
//! - **Edge Runtime**: Lightweight runtime optimized for resource-constrained devices
//! - **Synchronization**: Edge-to-cloud sync protocols with conflict resolution
//! - **CRDT-based Conflict Resolution**: Automatic conflict resolution for distributed nodes
//! - **Edge Compression**: Optimized compression for bandwidth-limited environments
//! - **Local Caching**: Offline-first caching strategy
//! - **Resource Management**: Memory and CPU management for constrained devices
//!
//! ## Example
//!
//! ```rust,no_run
//! use oxigdal_edge::{EdgeRuntime, EdgeConfig};
//!
//! # async fn example() -> Result<(), Box<dyn std::error::Error>> {
//! // Create edge runtime with minimal footprint
//! let config = EdgeConfig::minimal();
//! let runtime = EdgeRuntime::new(config).await?;
//!
//! // Process data locally with caching
//! // Sync with cloud when connection available
//! # Ok(())
//! # }
//! ```
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
/// Edge computing version
pub const VERSION: &str = env!;
/// Default cache size for edge devices (10 MB)
pub const DEFAULT_CACHE_SIZE: usize = 10 * 1024 * 1024;
/// Default sync interval (5 minutes)
pub const DEFAULT_SYNC_INTERVAL_SECS: u64 = 300;
/// Maximum memory usage for edge runtime (50 MB)
pub const MAX_MEMORY_USAGE: usize = 50 * 1024 * 1024;