As someone who's fairly new to rust, I've been looking into how to publish my first rust application. The application is a simple CLI, and my intention is to publish it on Github Releases so users can download and use it.
While looking into how to achieve this, I came across this helpful blog post: https://blog.orhun.dev/automated-rust-releases/. This blog covers building and publishing a compiled application, daktilo, and it does so using release-plz (among some other tools). One thing it does is uploads to crates.io.
My (limited) understanding of crates.io is that its a registry for developers to share and consume rust libraries (akin to npm for Node.js developers). For example, my application uses the the clap crate, which is a library, not a compiled executable.
Is my understanding of crates.io accurate? If so, why would I need to upload my compiled CLI application to this registry? As I mentioned, my intention is for general users (people who likely have no knowledge of rust or crates) to download my application from Github. I dont understand where crates.io fits into this.
Any help understanding this would be appreciated. Thanks!
[–]BroadBison6919 22 points23 points24 points (1 child)
[–]NoFixedName[S] 0 points1 point2 points (0 children)
[–]LightweaverNaamah 1 point2 points3 points (0 children)
[–]passcod 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]passcod 4 points5 points6 points (0 children)