geckodriver
geckodriver copied to clipboard
Publish geckodriver itself on crates.io
Sorry to raise a new issue, but the comments were locked on https://github.com/mozilla/geckodriver/issues/1695, so I couldn't respond.
I asked:
Could geckodriver itself also be published on crates.io?
And @whimboo's response was:
Sadly not. crates.io is used to share libraries but not binaries. See https://doc.rust-lang.org/cargo/reference/publishing.html. As such we do not upload any crates to that page.
You can publish binary crates on crates.io. See the section Installing Binaries from Crates.io with cargo install in the Rust book for more info.
So users could install geckodriver as simply as cargo install geckodriver :)
As mentioned on the other issue we formerly decided to not push geckodriver to crates.io. I would let @jgraham reply here if he thinks it might be worth reconsidering.
I noticed today that other Rust tools like minidump-stackwalk are also on crates.io. So it might indeed be a good idea. We will discuss in next weeks meeting.
Great. I think it's a no-brainer, as it would make geckodriver really very easy to install.
We decided to also publish the marionette and geckodriver crates to crates.io so that it will be easier for folks that already have the rust toolchain installed and want to use a custom build geckodriver. It will be tracked over on https://bugzilla.mozilla.org/show_bug.cgi?id=1723202.
That's great. Thank you!