Bump version to v0.4.2

This commit is contained in:
Carl Lerche
2019-01-11 15:08:54 -08:00
parent e748907f45
commit 6cf7a35bb0
5 changed files with 22 additions and 10 deletions
+4
View File
@@ -1,3 +1,7 @@
# 0.4.2 (January 11, 2019)
* Add `Slab::drain` (#56).
# 0.4.1 (July 15, 2018)
* Improve `reserve` and `reserve_exact` (#37).
+11 -2
View File
@@ -1,11 +1,20 @@
[package]
name = "slab"
version = "0.4.1"
# When releasing to crates.io:
# - Update version number
# - lib.rs: html_root_url.
# - README.md
# - Update CHANGELOG.md
# - Update doc URL.
# - Cargo.toml
# - README.md
# - Create git tag
version = "0.4.2"
license = "MIT"
authors = ["Carl Lerche <me@carllerche.com>"]
description = "Pre-allocated storage for a uniform data type"
documentation = "https://docs.rs/slab"
documentation = "https://docs.rs/slab/0.4.2/slab/"
homepage = "https://github.com/carllerche/slab"
repository = "https://github.com/carllerche/slab"
readme = "README.md"
+1 -1
View File
@@ -1,4 +1,4 @@
Copyright (c) 2018 Carl Lerche
Copyright (c) 2019 Carl Lerche
Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
+2 -2
View File
@@ -5,7 +5,7 @@ Pre-allocated storage for a uniform data type.
[![Crates.io](https://img.shields.io/crates/v/slab.svg?maxAge=2592000)](https://crates.io/crates/slab)
[![Build Status](https://travis-ci.org/carllerche/slab.svg?branch=master)](https://travis-ci.org/carllerche/slab)
[Documentation](https://docs.rs/slab)
[Documentation](https://docs.rs/slab/0.4.2/slab/)
## Usage
@@ -13,7 +13,7 @@ To use `slab`, first add this to your `Cargo.toml`:
```toml
[dependencies]
slab = "0.4"
slab = "0.4.2"
```
Next, add this to your crate:
+4 -5
View File
@@ -1,4 +1,7 @@
//! Pre-allocated storage for a uniform data type.
#![deny(warnings, missing_docs, missing_debug_implementations, unreachable_pub)]
#![doc(html_root_url = "https://docs.rs/slab/0.4.2")]
#![crate_name = "slab"]//! Pre-allocated storage for a uniform data type.
//!
//! `Slab` provides pre-allocated storage for a single data type. If many values
//! of a single type are being allocated, it can be more efficient to
@@ -98,10 +101,6 @@
//!
//! [`Slab::with_capacity`]: struct.Slab.html#with_capacity
#![deny(warnings, missing_docs, missing_debug_implementations, unreachable_pub)]
#![doc(html_root_url = "https://docs.rs/slab/0.4.1")]
#![crate_name = "slab"]
use std::iter::IntoIterator;
use std::ops;
use std::vec;