# 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 = "torch-build" version = "0.1.0" authors = ["Jerry Lin "] build = "build.rs" description = "Utilities to link libtorch FFI interface." homepage = "https://github.com/jerry73204/torch-build" documentation = "https://docs.rs/torch-build/" readme = "README.md" categories = ["parsing"] license = "MIT" repository = "https://github.com/jerry73204/torch-build.git" resolver = "2" [dependencies.anyhow] version = "1.0.45" [dependencies.cc] version = "1.0.72" [dependencies.cfg-if] version = "1.0.0" [dependencies.indexmap] version = "1.7.0" [dependencies.itertools] version = "0.10.1" [dependencies.log] version = "0.4.14" [dependencies.once_cell] version = "1.8.0" [dependencies.os_info] version = "3.0.7" [dependencies.python-config] version = "0.1.0" [dependencies.regex] version = "1.5.4" [dependencies.rustacuda] version = "0.1.3" [dependencies.ureq] version = "2.3.0" optional = true [dependencies.zip] version = "0.5.13" [build-dependencies.anyhow] version = "1.0.45" [build-dependencies.cc] version = "1.0.72" [features] default = ["download-libtorch"] download-libtorch = ["ureq"] parallel-build = ["cc/parallel"]