Skip to content

Commit

Permalink
indexmap 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bluss committed Mar 11, 2018
1 parent 14c4c91 commit a17819a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
13 changes: 12 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,18 @@ authors = [
documentation = "https://docs.rs/indexmap/"
repository = "https://github.com/bluss/indexmap"
license = "Apache-2.0/MIT"
description = "A hash table with consistent order and fast iteration."
description = """
A hash table with consistent order and fast iteration.
The indexmap is a hash table where the iteration order of the key-value
pairs is independent of the hash values of the keys. It has the usual
hash table functionality, it preserves insertion order except after
removals, and it allows lookup of its elements by either hash table key
or numerical index. A corresponding hash set type is also provided.
This crate was initially published under the name ordermap, but it was renamed to
indexmap.
"""

keywords = ["hashmap"]
categories = ["data-structures"]
Expand Down
11 changes: 11 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,17 @@ Ideas that we already did
Recent Changes
==============

- 1.0.0

- This is the 1.0 release for ``indexmap``! (the crate and datastructure
formerly known as “ordermap”)
- ``OccupiedEntry::insert`` changed its signature, to use ``&mut self`` for
the method receiver, matching the equivalent method for a standard
``HashMap``. Thanks to @dtolnay for finding this bug.
- The deprecated old names from ordermap were removed: ``OrderMap``,
``OrderSet``, ``ordermap!{}``, ``orderset!{}``. Use the new ``IndexMap``
etc names instead.

- 0.4.1

- Renamed crate to ``indexmap``; the ``ordermap`` crate is now deprecated
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#![deny(unsafe_code)]
#![doc(html_root_url = "https://docs.rs/indexmap/0.4/")]
#![doc(html_root_url = "https://docs.rs/indexmap/1/")]

//! [`IndexMap`] is a hash table where the iteration order of the key-value
//! pairs is independent of the hash values of the keys.
Expand Down

0 comments on commit a17819a

Please sign in to comment.