hatch
hatch copied to clipboard
Automatically set up Rust integration
I've been looking into using hatch while learning to use Python, as it seems to be the closest thing it has to Cargo.
Coming from a Rust background, it's probably a no-brainer that I'll want to use Rust at some point to improve the performance of my software, utilize APIs available in Rust, or other potential use cases for Rust in a Python project.
I'd like to use this issue to see if some easy-to-use Rust integration with Hatch would be possible, or if it's possible as a plugin. Ideally it would be added to Hatch itself, so it's easy to get going.
I'd love to see hatch and the existing rust-python package build tool maturin get together. Maybe hatch's plugin system could host maturin's build scripts? I get the impression that maturin does a lot of complicated stuff under the hood. It wouldn't make sense to start a new implementation from scratch in hatch I think?
Yeah, that's what I'm thinking too. Just some basic stuff so that it's all handled for you, and you can get right to writing Rust.
Maybe hatch's plugin system could host maturin's build scripts?
Is there any update/progress regarding this ?
https://github.com/PyO3/maturin/issues/1419