diff --git a/Cargo.toml b/Cargo.toml index 14a6623..61e20d9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "memoffset" -version = "0.6.0" +version = "0.6.1" authors = ["Gilad Naaman "] description = "offset_of functionality for Rust structs." license = "MIT" diff --git a/README.md b/README.md index e73a44b..67ce9eb 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Add the following dependency to your `Cargo.toml`: ```toml [dependencies] -memoffset = "0.5" +memoffset = "0.6" ``` These versions will compile fine with rustc versions greater or equal to 1.19. @@ -63,7 +63,7 @@ In order to use it, you must enable the `unstable_const` crate feature and sever Cargo.toml: ```toml [dependencies.memoffset] -version = "0.5" +version = "0.6" features = ["unstable_const"] ```