简体   繁体   English

如何确定包装箱是否与特定的Rust版本兼容?

[英]How can I find out whether a crate is compatible with a specific Rust version?

如果我找到一个我想使用的箱子,我怎么能找到哪个版本的Rust箱子按预期工作?

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. 许多较大的板条箱在CI进行稳定性声明时会对CI中较旧的固定版本的Rust进行测试。

There is a proposed RFC that would add the Rust version to the Cargo.toml file. 有一个建议的RFC会将Rust版本添加到Cargo.toml文件中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM