[package]
name = "topological-coherence"
version = "0.3.0"
edition = "2021"
rust-version = "1.60"
authors = ["Sylvain Cormier <sylvain@paraxiom.org>"]
description = "Toroidal topology primitives for LLM coherence research — Tonnetz geometry, spectral gap, attention masks, Karmonic spectral filter (v7: inference-time bias null, training-time valid)"
license = "Apache-2.0"
repository = "https://github.com/Paraxiom/topological-coherence"
documentation = "https://docs.rs/topological-coherence"
readme = "README.md"
keywords = ["topology", "attention", "transformer", "coherence", "tonnetz"]
categories = ["science", "mathematics", "algorithms"]

[features]
default = ["std"]
std = []
# Substrate/SCALE codec support
substrate = ["parity-scale-codec", "scale-info"]

[dependencies]
# no_std compatible math
libm = "0.2"

# Optional: Substrate SCALE codec
parity-scale-codec = { version = "3.6", default-features = false, features = ["derive", "max-encoded-len"], optional = true }
scale-info = { version = "2.10", default-features = false, features = ["derive"], optional = true }

[dev-dependencies]
