Repository navigation
flyteplugins-rs 0.0.1
First PyPI release of flyteplugins-rs, the Python launcher for Rust Flyte tasks.
pip install flyteplugins-rshttps://pypi.org/project/flyteplugins-rs/0.0.1/
What it does
Declares a compiled Rust worker as a Flyte task. The interface is never hand-written — it comes from <binary> describe-interface, so renaming a Rust parameter cannot silently diverge from what gets launched.
my_task, rust_env = rs.rust_task(
crate_dir=Path(__file__).parent,
binary="hello-trace",
fallback_descriptor=interface_gen.DESCRIPTOR,
)Compatibility
Speaks descriptor contract flyte_interface_version = 1. The launcher checks this against the worker binary at launch and refuses to run on a mismatch, naming both sides. Version numbers are deliberately not kept in sync with the flyte Rust crate — see docs/releasing.md.
Requires flyte>=2.0.0.
Notes
The Rust crates (flyte, flyte-macros) are not published yet: flyte depends on flyte_core by git rev, and crates.io rejects git dependencies. Until then, depend on the crate by path or git.