Skip to content

Commit

Permalink
Update indexmap to v2 (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTMjugador committed Jul 7, 2023
1 parent 4556977 commit ddc4eaa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ jobs:
strategy:
matrix:
include:
- rust: 1.41.0 # MSRV
# Fix an old minor version of some dependencies to ensure they
# compile with the MSRV
fixed_deps: -p indexmap --precise 1.7.0
- rust: 1.64.0 # MSRV
- rust: stable
features: unstable quickcheck
test_all: --all
Expand All @@ -39,7 +36,6 @@ jobs:
override: true
- name: Build
run: |
cargo update ${{ matrix.fixed_deps }}
cargo build --verbose --no-default-features
cargo build --verbose --features "${{ matrix.features }}"
- name: Tests
Expand Down
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ repository = "https://github.com/petgraph/petgraph"
keywords = ["data-structure", "graph", "unionfind", "graph-algorithms"]
categories = ["data-structures"]

rust-version = "1.64"

edition = "2018"

[package.metadata.docs.rs]
Expand All @@ -36,15 +38,15 @@ debug = true

[dependencies]
fixedbitset = { version = "0.4.0", default-features = false }
indexmap = { version = "1.7", features = ["std"] }
indexmap = "2.0"
quickcheck = { optional = true, version = "0.8", default-features = false }
serde = { version = "1.0", optional = true }
serde_derive = { version = "1.0", optional = true }

[dev-dependencies]
bincode = "1.3.3"
defmac = "0.2.1"
itertools = { version = "0.10.1", default-features = false }
itertools = { version = "0.11.0", default-features = false }
odds = { version = "0.4.0" }
rand = "0.5.5"

Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Graph data structure library. Please read the [API documentation here][].

Supports Rust 1.41 and later (some older versions may require picking the dependency versions [by hand][dependency_hack]).
Supports Rust 1.64 and later.

[![build_status][]](https://github.com/petgraph/petgraph/actions) [![crates][]](https://crates.io/crates/petgraph) [![gitter][]](https://gitter.im/petgraph-rs/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

Expand Down Expand Up @@ -33,4 +33,3 @@ be copied, modified, or distributed except according to those terms.
[crates]: https://img.shields.io/crates/v/petgraph
[gitter]: https://badges.gitter.im/petgraph-rs/community.svg
[RELEASES]: RELEASES.rst
[dependency_hack]: https://github.com/petgraph/petgraph/pull/493#issuecomment-1134970689

0 comments on commit ddc4eaa

Please sign in to comment.