sc_neurocore_engine 3.15.21

High-performance SIMD backend for SC-NeuroCore stochastic neuromorphic computing
Documentation
# 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"
name = "sc_neurocore_engine"
version = "3.15.21"
authors = ["Miroslav Sotek <protoscience@anulum.li>"]
build = false
exclude = [
    "tests/",
    ".github/",
    "*.pyc",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance SIMD backend for SC-NeuroCore stochastic neuromorphic computing"
homepage = "https://anulum.github.io/sc-neurocore/"
documentation = "https://anulum.github.io/sc-neurocore/rust-api/sc_neurocore_engine/"
readme = "README.md"
keywords = [
    "neuromorphic",
    "stochastic-computing",
    "simd",
    "spiking-network",
    "fpga",
]
categories = [
    "science",
    "simulation",
    "mathematics",
]
license = "AGPL-3.0-or-later"
repository = "https://github.com/anulum/sc-neurocore"

[package.metadata.maturin]
python-source = "../bridge"
module-name = "sc_neurocore_engine.sc_neurocore_engine"

[features]
default = []
gpu = [
    "dep:wgpu",
    "dep:pollster",
    "dep:bytemuck",
]

[lib]
name = "sc_neurocore_engine"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[example]]
name = "bench_block_floating_dense"
path = "examples/bench_block_floating_dense.rs"

[[example]]
name = "bench_dcls_q88"
path = "examples/bench_dcls_q88.rs"

[[example]]
name = "bench_mixed_dense"
path = "examples/bench_mixed_dense.rs"

[[example]]
name = "bench_precision_envelopes"
path = "examples/bench_precision_envelopes.rs"

[[example]]
name = "bench_precision_traps"
path = "examples/bench_precision_traps.rs"

[[example]]
name = "bench_ultrascale_dense_folding"
path = "examples/bench_ultrascale_dense_folding.rs"

[[example]]
name = "bench_ultrascale_plus_target"
path = "examples/bench_ultrascale_plus_target.rs"

[[example]]
name = "benchmark_context"
path = "examples/benchmark_context.rs"

[[bench]]
name = "analysis_bench"
path = "benches/analysis_bench.rs"
harness = false

[[bench]]
name = "bitstream_bench"
path = "benches/bitstream_bench.rs"
harness = false

[[bench]]
name = "full_bench"
path = "benches/full_bench.rs"
harness = false

[[bench]]
name = "gpu_bench"
path = "benches/gpu_bench.rs"
harness = false
required-features = ["gpu"]

[[bench]]
name = "scaling_bench"
path = "benches/scaling_bench.rs"
harness = false

[dependencies.bytemuck]
version = "1.21"
features = ["derive"]
optional = true

[dependencies.core_affinity]
version = "0.8"

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.ndarray]
version = "0.16"

[dependencies.numpy]
version = "0.28"

[dependencies.pollster]
version = "0.4"
optional = true

[dependencies.pyo3]
version = "0.28"
features = ["extension-module"]

[dependencies.rand]
version = "0.10"

[dependencies.rand_chacha]
version = "0.10"

[dependencies.rand_distr]
version = "0.6"

[dependencies.rand_xoshiro]
version = "0.8"

[dependencies.rayon]
version = "1.10"

[dependencies.rustfft]
version = "6.2"

[dependencies.wgpu]
version = "29"
optional = true

[dependencies.z3]
version = "0.12"
features = ["static-link-z3"]

[dev-dependencies.criterion]
version = "0.8"
features = ["html_reports"]

[dev-dependencies.proptest]
version = "1.4"

[build-dependencies.pyo3-build-config]
version = "0.28"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"