Skip to content

Add possibility to make a distribution by Cargo #1920

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

Open
iddm opened this issue Feb 22, 2017 · 3 comments
Open

Add possibility to make a distribution by Cargo #1920

iddm opened this issue Feb 22, 2017 · 3 comments
Labels
T-cargo Relevant to the Cargo team, which will review and decide on the RFC.

Comments

@iddm
Copy link

iddm commented Feb 22, 2017

Both Maven and Gradle have an ability to make a local distribution package, for example, some .zip archive which will contain some data you want. You may not want to publish your rust project on crates.io but, for example, you want to have your own project's web-site which has "downloads" section instead. With maven and gradle this would be possible.

So, I suggest cargo to have options to:

  1. Build a distribution package (zip, tar, gz, other formats)
  2. Count hashsumm (md5, sha256) automatically for the file from step 1.

What do you guys think here?

@jonas-schievink
Copy link
Contributor

FYI There's already cargo package, might want to check it out to see how far it gets you

@iddm
Copy link
Author

iddm commented Feb 22, 2017

Afaik this does something I can't control. My proposal' intentions are to provide a way of controlling what and how you want to package.

@est31
Copy link
Member

est31 commented Mar 8, 2017

see also rust-lang/cargo#557

@Centril Centril added the T-cargo Relevant to the Cargo team, which will review and decide on the RFC. label Dec 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-cargo Relevant to the Cargo team, which will review and decide on the RFC.
Projects
None yet
Development

No branches or pull requests

4 participants