[package] authors = ["Dilshod Tadjibaev (@antimora)"] categories = [] description = "Common crate for the Burn framework" edition.workspace = true keywords = [] license.workspace = true name = "burn-common" readme.workspace = true repository = "https://github.com/tracel-ai/burn/tree/main/crates/burn-common" documentation = "https://docs.rs/burn-common" version.workspace = true [features] default = ["std", "cubecl-common/default"] std = ["cubecl-common/std"] doc = ["default"] network = ["dep:indicatif", "dep:reqwest", "dep:tokio"] rayon = ["dep:rayon"] [target.'cfg(target_family = "wasm")'.dependencies] getrandom = { workspace = true, features = ["js"] } web-time = { version = "1.1.0" } [dependencies] # Network downloader indicatif = { workspace = true, optional = true } reqwest = { workspace = true, optional = true } tokio = { workspace = true, optional = true } # Parallel rayon = { workspace = true, optional = true } cubecl-common = { workspace = true, default-features = false } [dev-dependencies] dashmap = { workspace = true } [package.metadata.docs.rs] features = ["doc"] rustdoc-args = ["--cfg", "docsrs"]