tinymind 0.1.3

Neural networks for embedded Rust: a no_std, allocation-free port of the tinymind C++ library, bit-exact with it
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 = "2024"
rust-version = "1.85"
name = "tinymind"
version = "0.1.3"
build = false
exclude = [
    ".claude/",
    "CLAUDE.md",
    "ci/",
    "bench/",
    ".github/",
    "docs/",
    "scripts/",
    "tools/",
    ".gitignore",
    ".gitattributes",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Neural networks for embedded Rust: a no_std, allocation-free port of the tinymind C++ library, bit-exact with it"
homepage = "https://danmcleran.github.io/tinymind-rs/"
documentation = "https://docs.rs/tinymind"
readme = "README.md"
keywords = [
    "neural-network",
    "fixed-point",
    "embedded",
    "no-std",
    "tinyml",
]
categories = [
    "embedded",
    "no-std",
    "science",
    "algorithms",
]
license = "MIT"
repository = "https://github.com/danmcleran/tinymind-rs"

[package.metadata.docs.rs]
all-features = true

[features]
std = []

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

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

[[example]]
name = "imported_mlp"
path = "examples/imported_mlp.rs"
required-features = ["std"]

[[example]]
name = "int8_xor"
path = "examples/int8_xor.rs"
required-features = ["std"]

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

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

[[test]]
name = "deep_mlp"
path = "tests/deep_mlp.rs"

[[test]]
name = "energy_golden"
path = "tests/energy_golden.rs"

[[test]]
name = "glibc_rand"
path = "tests/glibc_rand.rs"

[[test]]
name = "imported_mlp_golden"
path = "tests/imported_mlp_golden.rs"
required-features = ["std"]

[[test]]
name = "inference_mlp"
path = "tests/inference_mlp.rs"

[[test]]
name = "int8_xor_golden"
path = "tests/int8_xor_golden.rs"
required-features = ["std"]

[[test]]
name = "iris_golden"
path = "tests/iris_golden.rs"

[[test]]
name = "qformat_oracle"
path = "tests/qformat_oracle.rs"

[[test]]
name = "softmax_sweep"
path = "tests/softmax_sweep.rs"
required-features = ["std"]

[[test]]
name = "softmax_tflite"
path = "tests/softmax_tflite.rs"

[[test]]
name = "xor_golden"
path = "tests/xor_golden.rs"

[dependencies]

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]