causa-runtime 0.3.0

Causa runtime — optional components: material execution, bound tool processing, streaming
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Runtime identity allocation conveniences.

use causa_kernel::BlockId;

/// Allocate a fresh UUIDv7 fact-block identity.
///
/// The kernel accepts explicit IDs and does not provide randomness or time
/// access; runtime conveniences keep that capability at the outer layer.
pub fn new_block_id() -> BlockId {
    BlockId::new(uuid::Uuid::now_v7())
}