# 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.60"
name = "topological-coherence"
version = "0.3.0"
authors = ["Sylvain Cormier <sylvain@paraxiom.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
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)"
documentation = "https://docs.rs/topological-coherence"
readme = "README.md"
keywords = [
    "topology",
    "attention",
    "transformer",
    "coherence",
    "tonnetz",
]
categories = [
    "science",
    "mathematics",
    "algorithms",
]
license = "Apache-2.0"
repository = "https://github.com/Paraxiom/topological-coherence"

[features]
default = ["std"]
std = []
substrate = [
    "parity-scale-codec",
    "scale-info",
]

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

[dependencies.libm]
version = "0.2"

[dependencies.parity-scale-codec]
version = "3.6"
features = [
    "derive",
    "max-encoded-len",
]
optional = true
default-features = false

[dependencies.scale-info]
version = "2.10"
features = ["derive"]
optional = true
default-features = false

[dev-dependencies]
