tephra-types
Shared vocabulary types for tephra: the concepts a client and the storage engine both speak.
This crate is pure data and validation with no I/O and no storage machinery, so a client can link it (and the wire protocol) without pulling in the engine. It holds:
Position: the dense, monotonic, 1-based event position (position 0 is the "before everything" sentinel).EventType,Tag, and the sorted, deduplicatedTagsset, validated on construction.- The query model:
Query,QueryItem, andAppendCondition(OR across items, AND within an item's tags).
It is the single source of truth for name and tag validation across the workspace.
Example
use ;
Related crates
tephra: the embedded event store engine.tephra-proto: the wire protocol built on this vocabulary.tephra-client: a synchronous client speaking this vocabulary.
License
Licensed under the Apache License, Version 2.0.