diff --git a/CHANGELOG.md b/CHANGELOG.md index 52dc4d5..cbad9dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# Version 1.2.0 + +- **This crate is now deprecated in favor of [slab](https://crates.io/crates/slab).** + # Version 1.1.0 - Make the crate `#![no_std]`. diff --git a/Cargo.toml b/Cargo.toml index 5563cfb..bc663a0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,9 @@ [package] name = "vec-arena" -version = "1.1.0" +# When publishing a new version: +# - Update CHANGELOG.md +# - Create "v1.x.y" git tag +version = "1.2.0" authors = ["Stjepan Glavina "] edition = "2018" description = "A simple object arena" diff --git a/README.md b/README.md index ae940d5..cef88ce 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# vec-arena +# vec-arena (deprecated) [![Build](https://github.com/smol-rs/vec-arena/workflows/Build%20and%20test/badge.svg)]( https://github.com/smol-rs/vec-arena/actions) @@ -6,6 +6,8 @@ https://github.com/smol-rs/vec-arena/actions) [![Cargo](https://img.shields.io/crates/v/vec-arena.svg)](https://crates.io/crates/vec-arena) [![Documentation](https://docs.rs/vec-arena/badge.svg)](https://docs.rs/vec-arena) +**This crate is now deprecated in favor of [slab](https://crates.io/crates/slab).** + #### What is this? A simple object arena. diff --git a/src/lib.rs b/src/lib.rs index 29fe52e..c8b7754 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -16,6 +16,10 @@ #![no_std] #![forbid(unsafe_code)] #![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)] +#![deprecated( + since = "1.2.0", + note = "This crate is now deprecated in favor of [slab](https://crates.io/crates/slab)." +)] extern crate alloc;