mirror of https://github.com/tracel-ai/burn.git
45 lines
1.2 KiB
TOML
45 lines
1.2 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/burn-common"
|
|
version.workspace = true
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = ["rand/std"]
|
|
doc = ["default"]
|
|
wasm-sync = []
|
|
network = ["dep:indicatif", "dep:reqwest", "dep:tokio"]
|
|
|
|
[target.'cfg(target_family = "wasm")'.dependencies]
|
|
async-trait = { workspace = true }
|
|
getrandom = { workspace = true, features = ["js"] }
|
|
web-time = { version = "1.0.0" }
|
|
|
|
|
|
[dependencies]
|
|
# ** Please make sure all dependencies support no_std when std is disabled **
|
|
|
|
rand = { workspace = true }
|
|
spin = { workspace = true } # using in place of use std::sync::Mutex;
|
|
uuid = { workspace = true }
|
|
derive-new = { workspace = true }
|
|
serde = { workspace = true }
|
|
|
|
# Network downloader
|
|
indicatif = { workspace = true, optional = true }
|
|
reqwest = { workspace = true, optional = true }
|
|
tokio = { workspace = true, optional = true }
|
|
|
|
[dev-dependencies]
|
|
dashmap = { workspace = true }
|
|
|
|
[package.metadata.docs.rs]
|
|
features = ["doc"]
|