# 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-random"
version = "0.9.0-pre.5"
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CubeCL Random Number Generation."
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-random"
resolver = "2"

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

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

[dependencies.cubecl-common]
version = "=0.9.0-pre.5"
default-features = false

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

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

[dependencies.cubecl-std]
version = "=0.9.0-pre.5"
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"]
default-features = false

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