tensor_wasm_core/lib.rs
1// SPDX-License-Identifier: Apache-2.0
2// Copyright 2026 Craton Software Company
3
4//! Foundational types, errors, metrics, and telemetry shared by every TensorWasm crate.
5#![deny(missing_docs)]
6// Enable the unstable `doc_cfg` attribute on the docs.rs (nightly) build only.
7// `Cargo.toml` passes `--cfg docsrs` via `package.metadata.docs.rs.rustdoc-args`,
8// so the `feature(doc_cfg)` opt-in (and the `#[doc(cfg(...))]` annotations it
9// unlocks) is compiled exclusively there and never affects the stable build.
10#![cfg_attr(docsrs, feature(doc_cfg))]
11
12pub mod error;
13pub mod mem_pool;
14pub mod metrics;
15pub mod telemetry;
16pub mod types;