Skip to main content

Crate aube_util

Crate aube_util 

Source

Re-exports§

pub use diag::DiagConfig;
pub use diag::Slot;
pub use diag::Span;
pub use diag::jstr;
pub use identity::AUBE;
pub use identity::Embedder;
pub use identity::embedder;
pub use identity::set_embedder;

Modules§

adaptive
Aube’s adaptive runtime helpers. A global library of runtime tuned lock free primitives that replace hard coded magic numbers across the codebase with online observation.
buf
Reusable per-thread scratch buffers.
cache
Process-wide and on-disk caches shared across aube crates.
collections
Hash-map type aliases backed by foldhash. Better avalanche than FxHash on integer-suffixed string keys (the shape aube’s dep_path peer-context suffixes take). All inputs come from locked manifest data so FixedState (no random seed) is fine, no DoS surface.
concurrency
Concurrency configuration helpers shared across aube crates.
diag
Cold-install deep diagnostics for aube install.
diag_kernel
Kernel and OS signal capture for the diagnostics layer.
env
fs
Cross-platform filesystem helpers shared by store, linker, install.
fs_atomic
hash
http
HTTP client helpers reused across aube crates.
identity
Compile-time embedder profile — the binary’s identity and embedder-fixed behavior, centralized.
io
IO bridges between async chunk producers and blocking consumers.
path
Cross-crate path normalization helpers.
pkg
snapshot
Cross-platform tree snapshot primitives.
url

Macros§

diag_instant
Emit an instantaneous marker with optional key = value metadata.
diag_span
Construct a Span with optional key = value metadata pairs.

Functions§

string_or_seq
Deserialize npm platform fields (os, cpu, libc) from either a string or an array of strings. Missing fields, nulls, and non-string array entries mean “no constraint” and are dropped.