Skip to content

Commit 773854e

Browse files
committed
Prepare for indexmap 2.0.0
1 parent 10ee11e commit 773854e

File tree

7 files changed

+16
-34
lines changed

7 files changed

+16
-34
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
include:
19-
- rust: 1.49.0 # MSRV
19+
- rust: 1.56.1 # MSRV
2020
features:
2121
- rust: stable
2222
features: serde
@@ -59,7 +59,7 @@ jobs:
5959
strategy:
6060
matrix:
6161
include:
62-
- rust: 1.49.0
62+
- rust: 1.56.1
6363
target: thumbv6m-none-eabi
6464
- rust: stable
6565
target: thumbv6m-none-eabi

.rustfmt.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
edition = "2018"
1+
edition = "2021"

Cargo.toml

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,21 @@
11
[package]
22
name = "indexmap"
3-
edition = "2018"
4-
version = "1.8.0"
5-
authors = [
6-
"bluss",
7-
"Josh Stone <cuviper@gmail.com>"
8-
]
3+
edition = "2021"
4+
version = "2.0.0-pre"
5+
publish = false
96
documentation = "https://docs.rs/indexmap/"
107
repository = "https://github.com/bluss/indexmap"
11-
license = "Apache-2.0/MIT"
12-
description = """
13-
A hash table with consistent order and fast iteration.
14-
15-
The indexmap is a hash table where the iteration order of the key-value
16-
pairs is independent of the hash values of the keys. It has the usual
17-
hash table functionality, it preserves insertion order except after
18-
removals, and it allows lookup of its elements by either hash table key
19-
or numerical index. A corresponding hash set type is also provided.
20-
21-
This crate was initially published under the name ordermap, but it was renamed to
22-
indexmap.
23-
"""
24-
8+
license = "Apache-2.0 OR MIT"
9+
description = "A hash table with consistent order and fast iteration."
2510
keywords = ["hashmap", "no_std"]
2611
categories = ["data-structures", "no-std"]
2712

28-
build = "build.rs"
29-
3013
[lib]
3114
bench = false
3215

3316
[build-dependencies]
3417
autocfg = "1"
18+
3519
[dependencies]
3620
serde = { version = "1.0", optional = true, default-features = false }
3721
rayon = { version = "1.4.1", optional = true }

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ indexmap
1212
.. |docs| image:: https://docs.rs/indexmap/badge.svg
1313
.. _docs: https://docs.rs/indexmap
1414

15-
.. |rustc| image:: https://img.shields.io/badge/rust-1.49%2B-orange.svg
16-
.. _rustc: https://img.shields.io/badge/rust-1.49%2B-orange.svg
15+
.. |rustc| image:: https://img.shields.io/badge/rust-1.56%2B-orange.svg
16+
.. _rustc: https://img.shields.io/badge/rust-1.56%2B-orange.svg
1717

1818
A pure-Rust hash table which preserves (in a limited sense) insertion order.
1919

src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@
5353
//!
5454
//! ### Rust Version
5555
//!
56-
//! This version of indexmap requires Rust 1.49 or later.
56+
//! This version of indexmap requires Rust 1.56 or later.
5757
//!
58-
//! The indexmap 1.x release series will use a carefully considered version
59-
//! upgrade policy, where in a later 1.x version, we will raise the minimum
58+
//! The indexmap 2.x release series will use a carefully considered version
59+
//! upgrade policy, where in a later 2.x version, we will raise the minimum
6060
//! required Rust version.
6161
//!
6262
//! ## No Standard Library Targets

test-nostd/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
[package]
22
name = "test-nostd"
33
version = "0.1.0"
4-
authors = ["bluss"]
54
publish = false
6-
edition = "2018"
5+
edition = "2021"
76

87
[dependencies]
98
indexmap = { path = "..", features = ["serde-1"] }

test-serde/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
[package]
22
name = "test-serde"
33
version = "0.1.0"
4-
authors = ["bluss"]
54
publish = false
6-
edition = "2018"
5+
edition = "2021"
76

87
[dependencies]
98

0 commit comments

Comments
 (0)