Cargo Features

torch-sys has no features set by default.

[dependencies]
torch-sys = { version = "0.18.0", features = ["download-libtorch", "doc-only", "python-extension"] }
download-libtorch = serde, serde_json, ureq
doc-only
python-extension

Affects torch-sys::python

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

ureq build download-libtorch?
serde_json build download-libtorch?
serde build download-libtorch?