Merge pull request #18 from smol-rs/deprecated

Deprecate in favor of slab
This commit is contained in:
Taiki Endo 2021-05-09 06:37:33 +09:00 committed by GitHub
commit ebc092e554
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 2 deletions

View File

@ -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]`.

View File

@ -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 <stjepang@gmail.com>"]
edition = "2018"
description = "A simple object arena"

View File

@ -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.

View File

@ -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;