cubecl-runtime 0.10.0-pre.1

Crate that helps creating high performance async runtimes for CubeCL.
Documentation
# 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-runtime"
version = "0.10.0-pre.1"
authors = [
    "louisfd <louisfd94@gmail.com>",
    "Nathaniel Simard",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Crate that helps creating high performance async runtimes for CubeCL."
readme = "README.md"
keywords = [
    "deep-learning",
    "machine-learning",
    "data",
]
categories = ["science"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tracel-ai/cubecl/tree/main/crates/cubecl-runtime"
resolver = "2"

[features]
autotune-checks = []
channel-cell = []
channel-mpsc = []
channel-mutex = []
default = [
    "std",
    "channel-mutex",
    "channel-mpsc",
    "channel-cell",
    "storage-bytes",
    "cubecl-common/default",
]
exclusive-memory-only = []
profile-tracy = ["dep:tracy-client"]
std = [
    "cubecl-common/std",
    "toml",
    "dirs",
    "thiserror/std",
]
storage-bytes = []
tracing = [
    "dep:tracing",
    "cubecl-common/tracing",
    "cubecl-ir/tracing",
]

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

[[test]]
name = "integration_test"
path = "tests/integration_test.rs"

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

[dependencies.async-channel]
version = "2.3"

[dependencies.bytemuck]
version = "1.16.1"

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.cubecl-common]
version = "=0.10.0-pre.1"
default-features = false

[dependencies.cubecl-ir]
version = "=0.10.0-pre.1"
features = ["serde"]
default-features = false

[dependencies.derive-new]
version = "0.7.0"
default-features = false

[dependencies.derive_more]
version = "2"
features = ["eq"]
default-features = false

[dependencies.dirs]
version = "6.0.0"
optional = true

[dependencies.enumset]
version = "1.1.10"
default-features = false

[dependencies.hashbrown]
version = "0.16"

[dependencies.log]
version = "^0.4.22"
default-features = false

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

[dependencies.thiserror]
version = "2"
default-features = false

[dependencies.toml]
version = "0.9"
optional = true

[dependencies.tracing]
version = "^0.1.43"
features = ["attributes"]
optional = true
default-features = false

[dependencies.variadics_please]
version = "1"

[dependencies.web-time]
version = "1.1.0"

[dev-dependencies.rand]
version = "0.9.2"
features = [
    "std_rng",
    "thread_rng",
]
default-features = false

[dev-dependencies.serial_test]
version = "3.1.1"

[dev-dependencies.test-log]
version = "^0.2"
features = ["trace"]
default-features = false

[build-dependencies.cfg_aliases]
version = "0.2.1"

[target.'cfg(any(target_os = "windows", target_os = "linux", target_os = "macos"))'.dependencies.cubecl-common]
version = "=0.10.0-pre.1"
features = [
    "cache",
    "serde",
    "hash",
]
default-features = false

[target.'cfg(any(target_os = "windows", target_os = "linux", target_os = "macos"))'.dependencies.md5]
version = "0.8.0"

[target.'cfg(any(target_os = "windows", target_os = "linux", target_os = "macos"))'.dependencies.serde_json]
version = "1.0.119"
features = ["std"]
default-features = false

[target.'cfg(any(target_os = "windows", target_os = "linux", target_os = "macos"))'.dependencies.tracy-client]
version = "0.18.0"
optional = true

[target.'cfg(not(target_has_atomic = "ptr"))'.dependencies.spin]
version = "0.10.0"
features = [
    "mutex",
    "spin_mutex",
    "mutex",
    "spin_mutex",
    "portable_atomic",
]

[target.'cfg(target_family = "wasm")'.dependencies.wasm-bindgen-futures]
version = "0.4.45"

[target.'cfg(target_has_atomic = "ptr")'.dependencies.spin]
version = "0.10.0"
features = [
    "mutex",
    "spin_mutex",
    "mutex",
    "spin_mutex",
]

[lints.clippy]
doc_markdown = "warn"

[lints.rust]
warnings = "warn"

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