[package]
edition = "2024"
name = "rustify-ml"
version = "0.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Profile Python hotspots and auto-generate Rust + PyO3 stubs via maturin"
homepage = "https://github.com/homezloco/rustify-ml"
documentation = "https://github.com/homezloco/rustify-ml"
readme = "README.md"
keywords = [
"python",
"pyo3",
"ml",
"accelerate",
"profiler",
]
categories = [
"development-tools",
"science",
"command-line-utilities",
]
license = "MIT"
repository = "https://github.com/homezloco/rustify-ml"
[features]
default = []
numpy-hint = ["ndarray"]
torch-hint = ["tch"]
[lib]
name = "rustify_ml"
path = "src/lib.rs"
[[bin]]
name = "rustify-ml"
path = "src/main.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "integration_cli"
path = "tests/integration_cli.rs"
[[bench]]
name = "python_vs_rust"
path = "benches/python_vs_rust.rs"
harness = false
[[bench]]
name = "speedup"
path = "benches/speedup.rs"
harness = false
[dependencies.anyhow]
version = "1"
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.git2]
version = "0.18"
[dependencies.heck]
version = "0.5"
[dependencies.ndarray]
version = "0.16"
optional = true
[dependencies.prettyplease]
version = "0.2"
[dependencies.quote]
version = "1.0"
[dependencies.rustpython-parser]
version = "0.4.0"
[dependencies.syn]
version = "2.0"
features = [
"full",
"parsing",
"printing",
]
[dependencies.tch]
version = "0.15"
optional = true
[dependencies.tempfile]
version = "3"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dev-dependencies.anyhow]
version = "1"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.rustpython-parser]
version = "0.4"
[dev-dependencies.tempfile]
version = "3"