Skip to content

Commit d7484b8

Browse files
committed
Allow deprecation in deprecated libraries
1 parent ffd87da commit d7484b8

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

src/libfourcc/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ fn main() {
4242
#![crate_name = "fourcc"]
4343
#![deprecated = "This is now a cargo package located at: \
4444
https://github.com/rust-lang/fourcc"]
45+
#![allow(deprecated)]
4546
#![crate_type = "rlib"]
4647
#![crate_type = "dylib"]
4748
#![license = "MIT/ASL2"]

src/libhexfloat/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ fn main() {
3939
#![crate_name = "hexfloat"]
4040
#![deprecated = "This is now a cargo package located at: \
4141
https://github.com/rust-lang/hexfloat"]
42+
#![allow(deprecated)]
4243
#![crate_type = "rlib"]
4344
#![crate_type = "dylib"]
4445
#![license = "MIT/ASL2"]

src/libsemver/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
#![crate_name = "semver"]
3232
#![deprecated = "This is now a cargo package located at: \
3333
https://github.com/rust-lang/semver"]
34+
#![allow(deprecated)]
3435
#![crate_type = "rlib"]
3536
#![crate_type = "dylib"]
3637
#![license = "MIT/ASL2"]

src/liburl/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
1313
#![crate_name = "url"]
1414
#![deprecated="This is being removed. Use rust-url instead. http://servo.github.io/rust-url/"]
15+
#![allow(deprecated)]
1516
#![crate_type = "rlib"]
1617
#![crate_type = "dylib"]
1718
#![license = "MIT/ASL2"]

src/libuuid/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ Examples of string representations:
5959
#![crate_name = "uuid"]
6060
#![deprecated = "This is now a cargo package located at: \
6161
https://github.com/rust-lang/uuid"]
62+
#![allow(deprecated)]
6263
#![crate_type = "rlib"]
6364
#![crate_type = "dylib"]
6465
#![license = "MIT/ASL2"]

0 commit comments

Comments
 (0)