Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish to crates.io? #111

Closed
redoxeon opened this issue Mar 1, 2023 · 5 comments
Closed

Publish to crates.io? #111

redoxeon opened this issue Mar 1, 2023 · 5 comments

Comments

@redoxeon
Copy link

redoxeon commented Mar 1, 2023

This project is super fun! Any chance of publishing it to crates.io?

@lunacookies
Copy link
Collaborator

There was a bit of a discussion on Reddit on this topic when we first made the project public, which I still stand by:

I’m split on whether that’s a good idea, because no one would use pipes-rs as a library, and you can just as easily use the cargo install --git command posted by u/charlatanoftime above me. Crate names are very limited; I’d like to avoid contributing to that.

Sorry, I didn’t make myself clear. I do know about publishing binary-only crates, but I personally think that it’s a waste of crate names when you can almost as easily use cargo install --git. I just realised that, even if I wanted to, publishing pipes-rs would require publishing all its subcrates. At that point versioning of these subcrates has to be introduced, so I think it’s all more trouble than it’s worth.

If you’d like a convenient way to install from source, then you can use

$ cargo install --git https://github.com/lhvy/pipes-rs

In the end it’s down to @lhvy though because it’s his project.

@lhvy
Copy link
Owner

lhvy commented Mar 2, 2023

I agree with @arzg’s point, and I’d prefer to stick to just cargo install --git. It would be nice though if the install link in the readme could be for a specific/latest version, as opposed to the latest commit.

@lunacookies
Copy link
Collaborator

Hmmm, it would be trivial to come up with a little one-liner that curls the latest release, untars, and then runs cargo install --path pipes-rs-v1.6.0/ or something.

@redoxeon
Copy link
Author

redoxeon commented Mar 7, 2023

Ah yeah, that's understandable! Didn't think about checking on reddit, so I appreciate the clarification 😄

@lhvy
Copy link
Owner

lhvy commented Mar 17, 2023

Not planned on fixing for reasons listed above, opened a new issue regarding improving the current install instructions.

@lhvy lhvy closed this as not planned Won't fix, can't repro, duplicate, stale Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants