Browse Source

Add Serde crate to `num_bigint`

Łukasz Jan Niemier 9 years ago
parent
commit
e59ead7b3a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      bigint/src/lib.rs

+ 2 - 0
bigint/src/lib.rs

@@ -72,6 +72,8 @@
 
 
 #[cfg(any(feature = "rand", test))]
 #[cfg(any(feature = "rand", test))]
 extern crate rand;
 extern crate rand;
+#[cfg(feature = "serde")]
+extern crate serde;
 
 
 extern crate num_integer as integer;
 extern crate num_integer as integer;
 extern crate num_traits as traits;
 extern crate num_traits as traits;