[package]
edition = "2021"
rust-version = "1.92"
name = "gresil"
version = "0.1.0-alpha.9"
authors = ["philo-the-dendron"]
build = false
exclude = ["examples/ternary_*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Spiking neural networks in no_std Rust, i16 fixed point, for microcontrollers"
readme = "README.md"
keywords = [
"neural-network",
"spiking",
"snn",
"no_std",
"riscv",
]
categories = [
"science",
"embedded",
"no-std",
]
license = "AGPL-3.0-or-later"
repository = "https://gitea.com/gresil-rs/gresil"
[package.metadata.docs.rs]
features = [
"simd",
"unstable-stdp",
"unstable-bridge",
"unstable-freeze",
]
[features]
default = ["std"]
simd = ["std"]
std = []
unstable-bridge = []
unstable-freeze = []
unstable-stdp = []
[lib]
name = "gresil"
path = "src/lib.rs"
[[example]]
name = "bench_simd"
path = "examples/bench_simd.rs"
required-features = ["simd"]
[[example]]
name = "board"
crate-type = ["lib"]
path = "examples/board.rs"
test = true
[[example]]
name = "demo"
path = "examples/demo.rs"
required-features = [
"std",
"unstable-stdp",
]
[[example]]
name = "freeze"
path = "examples/freeze.rs"
test = true
required-features = [
"std",
"unstable-freeze",
]
[[example]]
name = "learner"
crate-type = ["lib"]
path = "examples/learner.rs"
test = true
required-features = ["unstable-stdp"]
[[example]]
name = "nir_assembly_gate"
path = "examples/nir_assembly_gate.rs"
required-features = ["std"]
[[example]]
name = "nir_format_gate"
path = "examples/nir_format_gate.rs"
required-features = ["std"]
[[example]]
name = "stranger"
path = "examples/stranger.rs"
test = true
required-features = ["std"]
[[example]]
name = "trace"
path = "examples/trace.rs"
required-features = [
"std",
"unstable-stdp",
"unstable-freeze",
]
[[test]]
name = "constructors"
path = "tests/constructors.rs"
[[test]]
name = "nir_fixtures"
path = "tests/nir_fixtures.rs"
[[test]]
name = "traces"
path = "tests/traces.rs"
[dependencies]
[target.'cfg(not(target_os = "none"))'.dev-dependencies.heapless]
version = "0.8"
[target.'cfg(not(target_os = "none"))'.dev-dependencies.proptest]
version = "1.5"