# 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 = "tch-ext" version = "0.2.0" authors = ["Laurent Mazare "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Sample Python extension using tch to interact with PyTorch." readme = "README.md" keywords = [ "pytorch", "deep-learning", "machine-learning", ] categories = ["science"] license = "MIT/Apache-2.0" repository = "https://github.com/LaurentMazare/tch-rs" [lib] name = "tch_ext" crate-type = ["cdylib"] path = "src/lib.rs" [dependencies.pyo3] version = "0.21" features = ["extension-module"] [dependencies.pyo3-tch] version = "0.18.0" [dependencies.tch] version = "0.18.0" features = ["python-extension"] [dependencies.torch-sys] version = "0.18.0" features = ["python-extension"]