Expand description
Tabularium — document storage for the faithful (SQLite + full-text search).
Cargo features (see Cargo.toml):
db—Database,SqliteStorage, Tantivy search, SQLite.client—rpc::Client(reqwest); impliesdb.- Default:
client(impliesdb; same asfull).
Binaries in workspace crates enable the features they need explicitly.
Re-exports§
pub use client_headers::header_map_from_lines;pub use client_headers::header_map_redacted_summary;pub use client_headers::merge_header_line;pub use client_headers::merge_into;pub use client_headers::parse_header_line;pub use client_headers::parse_tb_headers_env;pub use db::parse_user_timestamp;pub use db::Database;pub use db::DocumentMeta;pub use db::DocumentWaitStatus;pub use db::EntryId;pub use db::EntryKind;pub use db::GrepLine;pub use db::ListedEntry;pub use db::SearchHit;pub use db::SqliteDatabase;pub use db::SqliteStorage;pub use db::Storage;pub use db::WcStats;pub use text_lines::TailMode;
Modules§
- client_
headers - Optional extra HTTP headers for outbound RPC and WebSocket clients (WAF / reverse proxy).
- db
- Database facade:
Storage+ Tantivy + read-through cache (moka). - jsonrpc_
codes - Stable JSON-RPC 2.0
error.codevalues returned by tabularium servers. - resource_
path - Canonical absolute paths:
/,/a,/a/b,/a/b.txt— no backslashes, no//, no trailing/(except root). - rpc
- JSON-RPC client (
reqwest) for tabularium servers. - text_
lines - Logical line slicing (
\\n-separated) for documents. - ws
- WebSocket client (
ws://only in stage 1;wss://deferred).
Structs§
Enums§
- Error
- All failure modes surfaced to callers.
Functions§
- validate_
chat_ speaker_ id - Chat speaker id (
say/ WSsay): non-empty, no line breaks or:(stored as an ATX## idheading). - validate_
entity_ name - Category and document names must not be empty,
./.., contain separators, or be pure decimal strings.
Type Aliases§
- Result
- Library result alias.