# 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 = "2021" name = "cubecl-common" version = "0.3.0" authors = [ "Dilshod Tadjibaev (@antimora)", "Nathaniel Simard (@nathanielsimard)", ] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Common crate for CubeCL" readme = "README.md" keywords = [ "gpu", "cuda", "wgpu", ] categories = [ "science", "mathematics", "algorithms", ] license = "MIT OR Apache-2.0" repository = "https://github.com/tracel-ai/cubecl/tree/main/crates/cubecl-common" [lib] name = "cubecl_common" path = "src/lib.rs" [dependencies.derive-new] version = "0.6.0" default-features = false [dependencies.embassy-futures] version = "0.1.1" [dependencies.futures-lite] version = "2.3.0" features = ["std"] optional = true default-features = false [dependencies.log] version = "0.4.22" default-features = false [dependencies.rand] version = "0.8.5" features = ["std_rng"] default-features = false [dependencies.serde] version = "1.0.204" features = [ "derive", "alloc", ] default-features = false [dependencies.spin] version = "0.9.8" features = [ "mutex", "spin_mutex", ] [dev-dependencies.dashmap] version = "5.5.3" [features] default = ["std"] std = [ "rand/std", "futures-lite", ] [target.'cfg(not(target_has_atomic = "ptr"))'.dependencies.portable-atomic] version = "1.9" [target.'cfg(not(target_has_atomic = "ptr"))'.dependencies.spin] version = "0.9.8" features = [ "mutex", "spin_mutex", "mutex", "spin_mutex", "portable_atomic", ] [target.'cfg(target_family = "wasm")'.dependencies.getrandom] version = "0.2.15" features = ["js"] default-features = false [target.'cfg(target_family = "wasm")'.dependencies.web-time] version = "1.1.0" [target.'cfg(target_has_atomic = "ptr")'.dependencies.spin] version = "0.9.8" features = [ "mutex", "spin_mutex", "mutex", "spin_mutex", ]