# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.95"
name = "axon-csys"
version = "0.2.0"
authors = [
    "AXON Project",
    "Bemarking AI S.A.S.",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "axon-csys — Fase 25 (Silicon + Cognition sesión 1). C23 metal-bound kernels for axon-lang. The Rust crate hosts safe wrappers; the c-src/ tree hosts the kernels: cache-line-aligned slab allocator (25.d), G.711 mulaw + linear PCM resampler (25.c), algebraic effects FSM dispatcher with computed gotos (25.e), BPE tokenizer with #embed (25.g), HMAC-SHA256 continuity token (25.h), plus an adopter-facing C transpiler bridge (25.f). Each kernel ships with a byte-identical drift gate against the Rust reference impl. 25.b ships only the build-infrastructure probe; later sub-fases append their kernels."
readme = "README.md"
keywords = [
    "axon",
    "c23",
    "ffi",
    "kernel",
    "performance",
]
categories = [
    "development-tools::ffi",
    "external-ffi-bindings",
]
license = "MIT"
repository = "https://github.com/Bemarking/axon-lang"

[lib]
name = "axon_csys"
path = "src/lib.rs"

[[test]]
name = "audio"
path = "tests/audio.rs"

[[test]]
name = "buffer"
path = "tests/buffer.rs"

[[test]]
name = "crypto"
path = "tests/crypto.rs"

[[test]]
name = "drift_gate"
path = "tests/drift_gate.rs"

[[test]]
name = "effects"
path = "tests/effects.rs"

[[test]]
name = "probe"
path = "tests/probe.rs"

[[test]]
name = "tokens"
path = "tests/tokens.rs"

[[bench]]
name = "audio"
path = "benches/audio.rs"
harness = false

[[bench]]
name = "base64"
path = "benches/base64.rs"
harness = false

[[bench]]
name = "bpe"
path = "benches/bpe.rs"
harness = false

[[bench]]
name = "buffer"
path = "benches/buffer.rs"
harness = false

[[bench]]
name = "effects"
path = "benches/effects.rs"
harness = false

[[bench]]
name = "hmac"
path = "benches/hmac.rs"
harness = false

[[bench]]
name = "sha256"
path = "benches/sha256.rs"
harness = false

[dependencies.fancy-regex]
version = "0.13"

[dev-dependencies.base64]
version = "0.22"

[dev-dependencies.criterion]
version = "0.5"
features = [
    "html_reports",
    "cargo_bench_support",
]
default-features = false

[dev-dependencies.hmac]
version = "0.12"

[dev-dependencies.rand]
version = "0.9"
features = [
    "std",
    "std_rng",
]
default-features = false

[dev-dependencies.sha2]
version = "0.10"

[dev-dependencies.subtle]
version = "2"

[dev-dependencies.tiktoken-rs]
version = "0.6"

[build-dependencies.cc]
version = "1.2"
