# 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 = "burn-import" version = "0.15.0" authors = [ "Dilshod Tadjibaev (@antimora)", "Nathaniel Simard (@nathanielsimard)", ] build = false autobins = false autoexamples = false autotests = false autobenches = false default-run = "onnx2burn" description = "Library for importing datamodels into the Burn framework" documentation = "https://docs.rs/burn-import" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/tracel-ai/burn/tree/main/crates/burn-import" [package.metadata.docs.rs] features = ["default"] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "burn_import" path = "src/lib.rs" [[bin]] name = "onnx2burn" path = "src/bin/onnx2burn.rs" [dependencies.burn] version = "0.15.0" features = ["ndarray"] [dependencies.candle-core] version = "0.6.0" [dependencies.derive-new] version = "0.6.0" default-features = false [dependencies.half] version = "2.4.1" features = [ "alloc", "num-traits", "serde", ] default-features = false [dependencies.log] version = "0.4.22" default-features = false [dependencies.onnx-ir] version = "0.15.0" [dependencies.proc-macro2] version = "1.0.86" [dependencies.quote] version = "1.0.37" [dependencies.regex] version = "1.11.0" [dependencies.rust-format] version = "0.3.4" features = [ "token_stream", "post_process", ] [dependencies.serde] version = "1.0.210" features = [ "derive", "alloc", "derive", ] default-features = false [dependencies.serde_json] version = "1.0.132" features = ["std"] default-features = false [dependencies.syn] version = "2.0.82" features = [ "full", "extra-traits", "parsing", ] [dependencies.thiserror] version = "1.0.64" optional = true [dependencies.tracing-core] version = "0.1.32" [dependencies.tracing-subscriber] version = "0.3.18" [dependencies.zip] version = "2.2.0" optional = true [dev-dependencies.pretty_assertions] version = "1.4.1" [dev-dependencies.rstest] version = "0.19.0" [features] default = [ "onnx", "pytorch", ] onnx = [] pytorch = [ "burn/record-item-custom-serde", "thiserror", "zip", ]