burn/crates/burn-common/Cargo.toml

42 lines
1.1 KiB
TOML

[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"
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]
data-encoding = { workspace = true }
# 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"]