How do I use the nightly version of a crate (from crates.io)? Sorry, I should know, but I cannot find this anywhere in the documentation. I assume that I put something in Cargo.toml.
1 Answer
"Nightly" in Rust refers to the development version of the compiler and language. There is no such a thing as a "nightly version" of a crate.
However, you can use the development version of a crate by using the code repository as a source, for example, in your Cargo.toml:
[dependencies]
foobar = { git = "https://github.com/user/foobar", branch = "dev_branch" }
See also the full syntax and other related questions.