Merge pull request #33 from jonhoo/track-count

Keep track of number of set elements in map
diff --git a/Cargo.toml b/Cargo.toml
index a92aec9..fcb9043 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -40,5 +40,5 @@
 eders = ["serde", "serde_derive"]
 
 [dependencies]
-serde = { version = "0.9", optional = true }
-serde_derive = { version = "0.9", optional = true }
+serde = { version = "1.0", optional = true }
+serde_derive = { version = "1.0", optional = true }
diff --git a/src/lib.rs b/src/lib.rs
index c428794..fddb22a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1538,7 +1538,7 @@
     #[cfg(feature = "eders")]
     fn test_serde() {
         use serde::{Serialize, Deserialize};
-        fn impls_serde_traits<S: Serialize + Deserialize>() {}
+        fn impls_serde_traits<'de, S: Serialize + Deserialize<'de>>() {}
 
         impls_serde_traits::<VecMap<u32>>();
     }