uber / piranha

A tool for refactoring code related to feature flag APIs
Apache License 2.0
2.29k stars 198 forks source link

Request to publish package to crates.io #700

Closed shubhamBETA closed 1 month ago

shubhamBETA commented 1 month ago

Issue Description:

Thank you for considering this request and for your valuable contribution to the Rust ecosystem.

ketkarameya commented 1 month ago

Hey @shubhamBETA thanks a lot for reaching out. While this is a rust codebase (or a rust based tool), we do not expose it as a rust library. We rather publish it as a python package on pip. https://pypi.org/project/polyglot-piranha/

Is there a specific reason you want to use it as a rust library? You could potentially contribute to cleanup its current rust-api and expose it as a rust library too. But publishing at crates.io is something that Uber OSS will have to do. We will have to check that with deigo, though . At Uber, the tool is used as a Python library.

shubhamBETA commented 1 month ago

Thanks Ameya for responding.

On a side note, read you and your team's blogs for the stuff being built at Gitar.co, Pretty cool stuff man!

I'll mark this as closed. Thanks Shubham

ketkarameya commented 1 month ago

There are a bunch of examples here - https://github.com/uber/piranha/tree/master/demo You can use these to get yourself started

ketkarameya commented 1 month ago

ITs a 100% rust library, we use https://pyo3.rs/v0.22.3/ to create a python api

shubhamBETA commented 1 month ago

okay, makes sense. I will take a look. Thanks!