cordx56/rustowl

publish to crates.io

robin-thoene opened this issue · 7 comments

As an additional installation option, installing the required rust bin from crates.io like other binaries would be nice and convenient.

that would be nice

Thank you for your opinion.
RustOwl must be built using a specific nightly toolchain.
Installing it from crates.io requires some additional options for cargo, which may be confusing.
So, I'd prefer not to publish it on crates.io. Sorry about that.

If you have any good ideas, I'd love to hear them!

It might still make sense from the perspective of registering the crate name in case someone else takes it.
Besides the install.sh could still exist and be the supported way for installing.
It might make maintaining the install.sh a little easier too as it wouldn't need curl and the version could just be locked via crates.io instead of updating the script every release.

@gerard-ryan-immersaview Thank you for your opinion!

I have published RustOwl to crates.io: https://crates.io/crates/rustowl.
Additionally, I updated the installation manual to use cargo install with rustup.

We plan to remove install.sh in the future.

Awesome!

I just tried it:

I first installed the required toolchain

rustup toolchain install nightly-2025-02-22

and then used the new documented install command

rustup run nightly-2025-02-22 cargo install rustowl

However, I receive some errors like this for several crates

Image

After adding the suggested components, the error still remains.

I am using an Arch Linux based distro, but also fired up my MacBook (Sequoia 15.2) and was able to reproduce the same.

Hmm, maybe your environment lacks some components .
This may be avoided by using install.sh since it specify required components.

This cannot be done by one-liner command.
So I fix document to use install.sh.