# 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"
name = "nnlang"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compiler for the NNLang (Neural Network Language)"
homepage = "https://nnl-lang.org"
readme = "README.md"
keywords = [
    "neural-network",
    "compiler",
    "inference",
    "embedded",
    "onnx",
]
categories = [
    "compilers",
    "science",
    "embedded",
]
license = "Apache-2.0"
repository = "https://github.com/gdesouza/nnl"

[[bin]]
name = "nnc"
path = "src/main.rs"

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

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

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

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.indexmap]
version = "2"

[dependencies.logos]
version = "0.15"

[dependencies.miette]
version = "7"
features = ["fancy"]

[dependencies.npyz]
version = "0.9"
features = ["npz"]

[dependencies.petgraph]
version = "0.7"

[dependencies.prost]
version = "0.13"

[dependencies.tempfile]
version = "3"

[dependencies.thiserror]
version = "2"

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.insta]
version = "1"

[dev-dependencies.mdbook]
version = "0.4"

[dev-dependencies.mdbook-admonish]
version = "1"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.zip]
version = "0.6"
