Allow deprecation in deprecated libraries
This commit is contained in:
parent
ffd87daeed
commit
d7484b86fc
@ -42,6 +42,7 @@ fn main() {
|
||||
#![crate_name = "fourcc"]
|
||||
#![deprecated = "This is now a cargo package located at: \
|
||||
https://github.com/rust-lang/fourcc"]
|
||||
#![allow(deprecated)]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![license = "MIT/ASL2"]
|
||||
|
@ -39,6 +39,7 @@ fn main() {
|
||||
#![crate_name = "hexfloat"]
|
||||
#![deprecated = "This is now a cargo package located at: \
|
||||
https://github.com/rust-lang/hexfloat"]
|
||||
#![allow(deprecated)]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![license = "MIT/ASL2"]
|
||||
|
@ -31,6 +31,7 @@
|
||||
#![crate_name = "semver"]
|
||||
#![deprecated = "This is now a cargo package located at: \
|
||||
https://github.com/rust-lang/semver"]
|
||||
#![allow(deprecated)]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![license = "MIT/ASL2"]
|
||||
|
@ -12,6 +12,7 @@
|
||||
|
||||
#![crate_name = "url"]
|
||||
#![deprecated="This is being removed. Use rust-url instead. http://servo.github.io/rust-url/"]
|
||||
#![allow(deprecated)]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![license = "MIT/ASL2"]
|
||||
|
@ -59,6 +59,7 @@ Examples of string representations:
|
||||
#![crate_name = "uuid"]
|
||||
#![deprecated = "This is now a cargo package located at: \
|
||||
https://github.com/rust-lang/uuid"]
|
||||
#![allow(deprecated)]
|
||||
#![crate_type = "rlib"]
|
||||
#![crate_type = "dylib"]
|
||||
#![license = "MIT/ASL2"]
|
||||
|
Loading…
Reference in New Issue
Block a user