Repository: ezrosent/allocators-rs (language: rust)

Issue:
Upgrade to lazy_static 1.0
Upgrade to version 1.0 of the [lazy_static](https://crates.io/crates/lazy_static) crate.


Discussion / hints:
Hey

I have worked on this and submitted a PR above. Let me know if any further changes are to be made. 

Thanks

Fix patch:
diff --git a/bsalloc/Cargo.toml b/bsalloc/Cargo.toml
index 97a31dc..8e7254d 100644
--- a/bsalloc/Cargo.toml
+++ b/bsalloc/Cargo.toml
@@ -23,5 +23,5 @@ exclude = ["appveyor.sh", "travis.sh"]
 
 [dependencies]
 alloc-fmt = { path = "../alloc-fmt" }
-lazy_static = { version = "0.2.9", features = ["spin_no_std"] }
+lazy_static = { version = "1.0.0", features = ["spin_no_std"] }
 mmap-alloc = { path = "../mmap-alloc" }
diff --git a/elfmalloc/Cargo.toml b/elfmalloc/Cargo.toml
index 8f102b4..3d33cca 100644
--- a/elfmalloc/Cargo.toml
+++ b/elfmalloc/Cargo.toml
@@ -49,7 +49,7 @@ alloc-fmt = { path = "../alloc-fmt" }
 alloc-tls = { path = "../alloc-tls" }
 bagpipe = { path = "../bagpipe" }
 bsalloc = "0.1.0"
-lazy_static = "0.2.9"
+lazy_static = "1.0.0"
 libc = "0.2"
 log = "0.3.8"
 malloc-bind = { path = "../malloc-bind" }
diff --git a/malloc-bind/Cargo.toml b/malloc-bind/Cargo.toml
index 47b560c..fa0e219 100644
--- a/malloc-bind/Cargo.toml
+++ b/malloc-bind/Cargo.toml
@@ -23,6 +23,6 @@ exclude = ["appveyor.sh", "travis.sh"]
 
 [dependencies]
 errno = "0.2"
-lazy_static = { version = "0.2.9", features = ["spin_no_std"] }
+lazy_static = { version = "1.0.0", features = ["spin_no_std"] }
 libc = "0.2"
 sysconf = "0.3.1"
diff --git a/slab-alloc/Cargo.toml b/slab-alloc/Cargo.toml
index 9e32791..4f618ed 100644
--- a/slab-alloc/Cargo.toml
+++ b/slab-alloc/Cargo.toml
@@ -40,7 +40,7 @@ hashmap-no-coalesce = []
 
 [dependencies]
 interpolate_idents = "0.1.8"
-lazy_static = { version = "0.2.9", features = ["spin_no_std"] }
+lazy_static = { version = "1.0.0", features = ["spin_no_std"] }
 mmap-alloc = "0.1.0"
 object-alloc = "0.1.0"
 object-alloc-test = { path = "../object-alloc-test" }


Test patch:
diff --git a/object-alloc-test/Cargo.toml b/object-alloc-test/Cargo.toml
index ad2ad79..5d60b0f 100644
--- a/object-alloc-test/Cargo.toml
+++ b/object-alloc-test/Cargo.toml
@@ -23,7 +23,7 @@ exclude = ["appveyor.sh", "travis.sh"]
 
 [dependencies]
 interpolate_idents = "0.1.8"
-lazy_static = "0.2.9"
+lazy_static = "1.0.0"
 libc = "0.2"
 object-alloc = "0.1.0"
 quickcheck = "0.4"