# 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 = "burn-cuda"
version = "0.21.0-pre.3"
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CUDA backend for the Burn framework"
documentation = "https://docs.rs/burn-cuda"
readme = "README.md"
keywords = [
    "deep-learning",
    "machine-learning",
    "gpu",
    "cuda",
]
categories = ["science"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tracel-ai/burn/tree/main/crates/burn-cuda"
resolver = "2"

[package.metadata.docs.rs]
features = ["doc"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
autotune = ["burn-cubecl/autotune"]
autotune-checks = ["burn-cubecl/autotune-checks"]
default = [
    "std",
    "fusion",
    "autotune",
    "burn-cubecl/default",
    "cubecl/default",
]
distributed = [
    "std",
    "burn-cubecl/distributed",
]
doc = ["burn-cubecl/doc"]
fusion = [
    "burn-fusion",
    "burn-cubecl/fusion",
]
std = [
    "burn-cubecl/std",
    "cubecl/std",
]
tracing = [
    "burn-backend/tracing",
    "burn-cubecl/tracing",
    "burn-fusion?/tracing",
    "cubecl/tracing",
]

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

[dependencies.burn-backend]
version = "=0.21.0-pre.3"
features = ["cubecl-cuda"]
default-features = false

[dependencies.burn-cubecl]
version = "=0.21.0-pre.3"
default-features = false

[dependencies.burn-fusion]
version = "=0.21.0-pre.3"
optional = true

[dependencies.cubecl]
version = "=0.10.0-pre.3"
features = ["cuda"]
default-features = false

[lints.clippy]

[lints.rustdoc]
broken_intra_doc_links = "deny"
invalid_html_tags = "deny"
