# 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 = "tropical-gemm"
version = "0.2.0"
authors = ["Leo"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance tropical matrix multiplication with SIMD and CUDA backends"
readme = "README.md"
keywords = [
    "tropical",
    "semiring",
    "matrix",
    "gemm",
    "simd",
]
categories = [
    "algorithms",
    "mathematics",
    "science",
]
license = "MIT"
repository = "https://github.com/TensorBFS/tropical-gemm"

[features]
default = ["parallel"]
parallel = ["rayon"]

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

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

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

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

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

[dependencies.num-traits]
version = "0.2"

[dependencies.rayon]
version = "1.10"
optional = true

[dependencies.wide]
version = "0.7"

[dev-dependencies.criterion]
version = "0.5"

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