An idea that I’ve kicked around before to prevent annoying deprecation warnings is to annotate crates with #![rust = "1.1.0"]
. Since stability attributes already include the Rust release the API was introduced, deprecation warnings can be omitted if the deprecation version > rust
attribute version.
10 Likes