[package]
name = "torsh-python"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
rust-version.workspace = true
description = "Python bindings for ToRSh - PyTorch-compatible deep learning in Rust"
readme = "README.md"
documentation = "https://docs.rs/torsh-python"
keywords = ["deep-learning", "python", "pyo3", "machine-learning", "bindings"]
categories = ["science", "api-bindings"]
[lints]
workspace = true
[lib]
name = "rstorch_python"
crate-type = ["cdylib"]
test = false
[dependencies]
pyo3 = { workspace = true, features = ["extension-module", "abi3-py38"] }
numpy = { workspace = true }
torsh-core = { workspace = true }
torsh-tensor = { workspace = true }
torsh-nn = { workspace = true }
torsh-optim = { workspace = true }
scirs2-core = { workspace = true }
thiserror = { workspace = true }
anyhow = { workspace = true }
parking_lot = { workspace = true }
[features]
default = []
extension-module = ["pyo3/extension-module"]
[package.metadata.maturin]
python-source = "python"
module-name = "rstorch"
bindings = "pyo3"