flybrain/services/flysim/crates/flybrain-core/Cargo.toml
acamilo 660c3cf00d
Some checks failed
ci / node 22 (test + typecheck) (push) Has been cancelled
ci / rust stable (cargo test --workspace --release) (push) Has been cancelled
ci / infra/tests/lint.sh (push) Has been cancelled
ci / playwright apps/stage (allowed to fail) (push) Has been cancelled
flybrain v0.4.0: public tree (history retained privately)
2026-09-21 15:09:46 +00:00

38 lines
970 B
TOML

[package]
name = "flybrain-core"
description = "Bit-exact Rust port of the flybrain neural core (dataset, LIF kernel, plasticity, readout, agent loop, checkpoint envelope)."
version.workspace = true
edition = "2021"
rust-version.workspace = true
license.workspace = true
publish.workspace = true
[features]
# The LIF tick on the GPU, bit-exact with the CPU kernel. Uses the CUDA driver API through
# `cudarc` with dynamic loading, so a build without a CUDA toolkit still works and a CPU-only run
# never opens libcuda.
cuda = ["dep:cudarc"]
[dependencies]
cudarc = { workspace = true, optional = true }
flate2.workspace = true
indexmap.workspace = true
libm.workspace = true
ryu-js.workspace = true
serde.workspace = true
serde_json.workspace = true
sha2.workspace = true
[dev-dependencies]
base64.workspace = true
[[example]]
name = "bench"
[[example]]
name = "cuda_exact"
required-features = ["cuda"]
[[example]]
name = "cuda_bench"
required-features = ["cuda"]