# 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 = "cubecl-reduce"
version = "0.9.0-pre.3"
authors = [
    "nathanielsimard <nathaniel.simard.42@gmail.com>",
    "louisfd <louisfd94@gmail.com>",
    "maxtremblay <t.maxime@pm.me>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CubeCL Reduce Algorithms."
readme = "README.md"
keywords = []
categories = [
    "science",
    "mathematics",
    "algorithms",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tracel-ai/cubecl/tree/main/crates/cubecl-reduce"
resolver = "2"

[features]
default = [
    "std",
    "cubecl-runtime/default",
    "cubecl-core/default",
]
export_tests = [
    "pretty_assertions",
    "rand",
]
std = [
    "cubecl-runtime/std",
    "cubecl-core/std",
]

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

[dependencies.cubecl-core]
version = "=0.9.0-pre.3"
default-features = false

[dependencies.cubecl-runtime]
version = "=0.9.0-pre.3"
default-features = false

[dependencies.cubecl-std]
version = "=0.9.0-pre.3"
default-features = false

[dependencies.half]
version = "2.5"
features = [
    "alloc",
    "num-traits",
    "serde",
]
default-features = false

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

[dependencies.pretty_assertions]
version = "1.4"
optional = true

[dependencies.rand]
version = "0.9.2"
features = ["std_rng"]
optional = true
default-features = false

[dependencies.serde]
version = "1.0.204"
features = [
    "derive",
    "alloc",
]
default-features = false
