Skip to content

Commit b44acef

Browse files
committed
Re-export serde using without extern crate
Now that we have edition 2018 we can re-expert `serde` using a `pub use` statement instead of `pub extern crate`.
1 parent 15817dd commit b44acef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797

9898
pub use bitcoin;
9999
#[cfg(feature = "serde")]
100-
pub extern crate serde;
100+
pub use serde;
101101
#[cfg(all(test, feature = "unstable"))]
102102
extern crate test;
103103

0 commit comments

Comments
 (0)