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
//! Cross-cutting primitives that every indusagi crate depends on.
//!
//! This is the foundational crate of the 100%-Rust indusagi rebuild — the
//! "packaging skin and shared vocabulary" that no single subsystem owns but all
//! of them need. It deliberately carries no subsystem logic; it ships the
//! load-bearing primitives:
//!
//! - [`cancel`] — the framework's single cancellation currency
//! ([`cancel::CancellationToken`]) with the parent→round→child chain helpers
//! and the typed-error gate (cancel yields a typed [`errors::CoreError`], never
//! a panic).
//! - [`canonical`] — the character-faithful `JSON.stringify` encoder and
//! [`canonical::content_hash`], the parity-critical content-addressing surface.
//! - [`env`] — the single environment-variable registry (brand grammar,
//! `INDUSAGI_HOME`, the provider-table skeleton).
//! - [`brand`] — the one source of naming truth ([`brand::BRAND`], [`brand::env_name`]).
//! - [`locate`] — the unified [`locate::Locator`] honoring `INDUSAGI_HOME` on all
//! state paths.
//! - [`version`] — the single-source [`version::VERSION`] (kills the TS 3-way drift).
//! - [`ids`] — ULID id helpers.
//! - [`errors`] — the shared closed [`errors::CoreError`] vocabulary.
//! - [`channel`] — the re-iterable [`channel::Channel`] stream factory.
//! - [`time`] — the single wall-clock surface ([`time::now_ms`], the canonical
//! `Date.now()` analogue) that replaces a dozen per-module copies.
// Re-export the most frequently reached-for symbols at the crate root so
// downstream crates can `use indusagi_core::{VERSION, CoreError, CancellationToken}`.
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use ;
pub use now_ms;
pub use VERSION;