// SPDX-License-Identifier: Apache-2.0
// Copyright 2026 Craton Software Company
//! Foundational types, errors, metrics, and telemetry shared by every TensorWasm crate.
// Enable the unstable `doc_cfg` attribute on the docs.rs (nightly) build only.
// `Cargo.toml` passes `--cfg docsrs` via `package.metadata.docs.rs.rustdoc-args`,
// so the `feature(doc_cfg)` opt-in (and the `#[doc(cfg(...))]` annotations it
// unlocks) is compiled exclusively there and never affects the stable build.