burn/crates/burn-import/Cargo.toml

43 lines
1.3 KiB
TOML
Raw Normal View History

[package]
authors = [
"Dilshod Tadjibaev (@antimora)",
"Nathaniel Simard (@nathanielsimard)",
]
description = "Library for importing datamodels into the Burn framework"
edition.workspace = true
license.workspace = true
name = "burn-import"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn/tree/main/crates/burn-import"
version.workspace = true
default-run = "onnx2burn"
[features]
default = ["onnx", "pytorch"]
onnx = []
pytorch = ["burn/record-item-custom-serde", "thiserror", "zip"]
[dependencies]
2024-08-28 02:12:54 +08:00
burn = { path = "../burn", version = "0.15.0", features = ["ndarray"] }
onnx-ir = { path = "../onnx-ir", version = "0.15.0" }
candle-core = { workspace = true }
2023-12-02 03:33:28 +08:00
derive-new = { workspace = true }
half = { workspace = true }
log = { workspace = true }
proc-macro2 = { workspace = true }
quote = { workspace = true }
regex = { workspace = true }
rust-format = { workspace = true, features = ["token_stream", "post_process"] }
serde = { workspace = true, features = ["derive"] }
2023-12-02 03:33:28 +08:00
serde_json = { workspace = true, features = ["std"] }
syn = { workspace = true, features = ["parsing"] }
thiserror = { workspace = true, optional = true }
tracing-core = { workspace = true }
tracing-subscriber = { workspace = true }
zip = { workspace = true, optional = true }
[dev-dependencies]
2023-12-02 03:33:28 +08:00
pretty_assertions = { workspace = true }
rstest = { workspace = true }