axon-lang 1.38.1

AXON v1.5.1 — first crates.io publication of the AXON language full-stack runtime. Lexer/parser/type-checker/IR generator (re-exported from axon-frontend) plus the native Rust runtime: typed channels (TypedEventBus with QoS×5, π-calculus mobility, capability extrusion via shield D8 — Fase 13.f.2), Free Monad CPS handlers (Fase 2), lease kernel + reconcile loop (Fase 3+5), Epistemic Security Kernel (ESK Fase 6), Trust Types + ReplayLog (Fase 11.a+11.c), Stateful PEM over WebSocket (Fase 11.d), Ontological Tool Synthesis (Fase 11.e), Mobile Typed Channels (Fase 13). Crate publishes as `axon-lang` to mirror the Python PyPI package; library import remains `use axon::*` so existing call sites keep working unchanged.
Documentation
//! Pure-Rust transcoders seeded into the global OTS registry.

pub mod mulaw;
pub mod resample;

use std::sync::Arc;

use crate::ots::pipeline::TransformerRegistry;

/// Install every built-in native transformer into `registry`.
pub fn seed_registry(registry: &mut TransformerRegistry) {
    registry.install(Arc::new(mulaw::MulawToPcm16 {}));
    registry.install(Arc::new(mulaw::Pcm16ToMulaw {}));
    // Standard resample ladders used by Whisper-class consumers
    // (16 kHz) + telephony (8 kHz). Adopters who need 48 kHz or
    // custom rates can install additional Resample transformers
    // at startup without touching this module.
    registry.install(Arc::new(resample::Resample::new(8_000, 16_000)));
    registry.install(Arc::new(resample::Resample::new(16_000, 8_000)));
    registry.install(Arc::new(resample::Resample::new(16_000, 48_000)));
    registry.install(Arc::new(resample::Resample::new(48_000, 16_000)));
}