burn-cpu 0.20.1

MLIR based CPU backend for the Burn framework
# 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-cpu"
version = "0.20.1"
authors = ["marcantoinem <marc-antoine.m@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "MLIR based CPU backend for the Burn framework"
documentation = "https://docs.rs/burn-cpu"
readme = "README.md"
keywords = [
    "deep-learning",
    "machine-learning",
    "cpu",
]
categories = ["science"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tracel-ai/burn/tree/main/crates/burn-cpu"
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",
]
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_cpu"
path = "src/lib.rs"

[dependencies.burn-backend]
version = "0.20.1"
features = ["cubecl-cpu"]

[dependencies.burn-cubecl]
version = "0.20.1"
default-features = false

[dependencies.burn-fusion]
version = "0.20.1"
optional = true

[dependencies.cubecl]
version = "0.9.0"
features = ["cpu"]
default-features = false

[lints.clippy]

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