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
//! XERV Core Library
//!
//! This crate provides the foundational types, traits, and implementations
//! for the XERV orchestration platform.
//!
//! # Overview
//!
//! XERV (Executable Server) is a zero-copy, event-driven orchestration platform
//! that bridges visual automation with systems engineering.
//!
//! # Key Components
//!
//! - **Arena**: Memory-mapped append-only storage for zero-copy data sharing
//! - **WAL**: Write-Ahead Log for durability and crash recovery
//! - **Types**: Strongly-typed identifiers and pointers
//! - **Traits**: Core abstractions for nodes, triggers, and schemas
//!
//! # Example
//!
//! ```ignore
//! use xerv_core::prelude::*;
//!
//! // Create an arena for a trace
//! let trace_id = TraceId::new();
//! let config = ArenaConfig::default();
//! let arena = Arena::create(trace_id, &config)?;
//!
//! // Write data
//! let ptr = arena.write(&MyData { value: 42 })?;
//!
//! // Read data back (zero-copy)
//! let archived = arena.read(ptr)?;
//! ```
// Testing module must be declared before traits because traits/context.rs uses testing providers
// Re-export key types at crate root for convenience
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use Value;
pub use ;