4

If I find a crate I'd like to use, how can I find out with which versions of Rust the crate works as expected?

Shepmaster
  • 388,571
  • 95
  • 1,107
  • 1,366
the-bass
  • 705
  • 1
  • 6
  • 20

1 Answers1

4

Right now, you either read the crate's documentation or test it yourself. Many larger crates test against an older pinned version of Rust in CI when they make a stability claim.

There is a proposed RFC that would add the Rust version to the Cargo.toml file.

Shepmaster
  • 388,571
  • 95
  • 1,107
  • 1,366