[package]
edition = "2024"
rust-version = "1.97.1"
name = "axon-encoder"
version = "0.4.0"
build = false
exclude = [
"/.github/",
"/.devcontainer/",
"/.codacy.yml",
"/.codecov.yml",
"/.dockerignore",
"/Dockerfile",
"/qodana.yaml",
"/REVIEW.md",
"/docs/",
"/rust-toolchain.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Flexible sensory encoding pipelines for spiking neural networks — rate, temporal, predictive, population, and neuromodulator-driven encoding for telemetry and cyber-physical data."
documentation = "https://docs.rs/axon-encoder"
readme = "README.md"
keywords = [
"snn",
"spiking",
"neuromorphic",
"encoding",
"spike",
]
categories = [
"science",
"algorithms",
"simulation",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Limen-Neural/axon-encoder"
[features]
default = []
ndarray = ["dep:ndarray"]
serde = ["dep:serde"]
[lib]
name = "axon_encoder"
path = "src/lib.rs"
[[example]]
name = "delta_encoding"
path = "examples/delta_encoding.rs"
[[example]]
name = "latency_encoding"
path = "examples/latency_encoding.rs"
[[example]]
name = "ndarray_encoding"
path = "examples/ndarray_encoding.rs"
required-features = ["ndarray"]
[[example]]
name = "population_encoding"
path = "examples/population_encoding.rs"
[[example]]
name = "predictive_encoding"
path = "examples/predictive_encoding.rs"
[[example]]
name = "rate_encoding"
path = "examples/rate_encoding.rs"
[[example]]
name = "sibling_gains_adapter"
path = "examples/sibling_gains_adapter.rs"
[[example]]
name = "temporal_encoding"
path = "examples/temporal_encoding.rs"
[[test]]
name = "modulated_encoder_tests"
path = "tests/modulated_encoder_tests.rs"
[[test]]
name = "serde_tests"
path = "tests/serde_tests.rs"
[[bench]]
name = "allocations"
path = "benches/allocations.rs"
harness = false
[[bench]]
name = "encoders"
path = "benches/encoders.rs"
harness = false
[dependencies.ndarray]
version = "0.16"
optional = true
[dependencies.rand]
version = "0.10.2"
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dev-dependencies.criterion]
version = "0.8.2"
[dev-dependencies.ndarray]
version = "0.16"
[dev-dependencies.serde_json]
version = "1.0"