torch-sys 0.23.0

Low-level FFI bindings for the PyTorch C++ api (libtorch).
Documentation
# 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-sys"
version = "0.23.0"
authors = ["Laurent Mazare <lmazare@gmail.com>"]
build = "build.rs"
links = "tch"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Low-level FFI bindings for the PyTorch C++ api (libtorch)."
readme = false
keywords = [
    "pytorch",
    "ffi",
    "deep-learning",
    "machine-learning",
]
categories = [
    "external-ffi-bindings",
    "science",
]
license = "MIT/Apache-2.0"
repository = "https://github.com/LaurentMazare/tch-rs"

[package.metadata.docs.rs]
features = ["doc-only"]

[features]
doc-only = []
download-libtorch = [
    "ureq",
    "serde",
    "serde_json",
]
python-extension = []

[lib]
name = "torch_sys"
path = "src/lib.rs"

[dependencies.libc]
version = "0.2.0"

[build-dependencies.anyhow]
version = "^1.0.60"

[build-dependencies.cc]
version = "1.2"

[build-dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[build-dependencies.serde_json]
version = "1.0"
optional = true

[build-dependencies.ureq]
version = "2.6"
features = ["json"]
optional = true

[build-dependencies.zip]
version = "0.6"