rust-otp icon indicating copy to clipboard operation
rust-otp copied to clipboard

Uploading to crates.io

Open emmiegit opened this issue 2 years ago • 3 comments

Hello, I'm interested in using this crate. Unfortunately it's only accessible via git, but it's not possible to publish crates which depend directly on git dependencies without a version:

error: all dependencies must have a version specified when publishing.
dependency `otp` does not specify a version
Note: The published dependency will use the version from crates.io,
the `git` specification will be removed from the dependency declaration.

I understand there's already an otp on crates.io, but could you upload it under a different name such as rust-otp? You can keep the name of the crate itself the same for backwards compatibility.

Thank you,

emmiegit avatar May 21 '22 12:05 emmiegit

hey @emmiegit I've forked this repo, renamed the crate and published rust-otp ✔️

WesleyBatista avatar Dec 17 '23 22:12 WesleyBatista

@WesleyBatista Cool, thank you.

Looking at crates.io, I noticed that the repo link in the README and crate metadata points to this repo, could you update that?

emmiegit avatar Dec 18 '23 04:12 emmiegit

@WesleyBatista I'll edit this repo to point to your fork and archive it, since I haven't used rust in a long time -- thanks!

TimDumol avatar Dec 18 '23 04:12 TimDumol