weavatrix-rust 2.1.1

Protocol-independent Rust repository intelligence: typed evidence graphs for impact, architecture, APIs, Git, search, and memory
Documentation
1
2
3
4
5
6
7
8
9
10
11
#[cfg(feature = "memory")]
#[test]
fn rust_core_exposes_the_standalone_memory_module() {
    use weavatrix_rust::memory::{EntityId, Timestamp};

    let entity = EntityId::new("task:memory-boundary").unwrap();
    let timestamp = Timestamp::from_unix_micros(42);

    assert_eq!(entity.as_str(), "task:memory-boundary");
    assert_eq!(timestamp.as_unix_micros(), 42);
}