Skip to content

Commit

Permalink
Upgrade to hashbrown 0.14 and indexmap 2
Browse files Browse the repository at this point in the history
  • Loading branch information
cuviper committed Jul 7, 2023
1 parent bcbf98b commit 8f802d1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
with:
submodules: true
- name: Install rust
run: rustup update 1.52.0 && rustup default 1.52.0
run: rustup update 1.60.0 && rustup default 1.60.0
- name: Test
run: cargo test --verbose --no-default-features --features read,std

Expand All @@ -86,7 +86,7 @@ jobs:
with:
submodules: true
- name: Install rust
run: rustup update 1.61.0 && rustup default 1.61.0
run: rustup update 1.64.0 && rustup default 1.64.0
- name: Test
run: cargo test --verbose --features all

Expand Down
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ features = ['doc']
[dependencies]
crc32fast = { version = "1.2", default-features = false, optional = true }
flate2 = { version = "1", optional = true }
indexmap = { version = "1.6", optional = true }
indexmap = { version = "2.0", default-features = false, optional = true }
wasmparser = { version = "0.102.0", optional = true }
memchr = { version = "2.4.1", default-features = false }
hashbrown = { version = "0.13.1", features = ["ahash"], default-features = false, optional = true }
hashbrown = { version = "0.14.0", features = ["ahash"], default-features = false, optional = true }
ruzstd = { version = "0.3.1", optional = true }

# Internal feature, only used when building as part of libstd, not part of the
Expand All @@ -35,9 +35,9 @@ read_core = []
# Read support for most file formats (including unaligned files).
read = ["read_core", "archive", "coff", "elf", "macho", "pe", "xcoff", "unaligned"]
# Core write support. You will need to enable some file formats too.
write_core = ["crc32fast", "indexmap", "hashbrown"]
write_core = ["crc32fast", "dep:indexmap", "dep:hashbrown"]
# Core write support with libstd features. You will need to enable some file formats too.
write_std = ["write_core", "std", "indexmap/std", "crc32fast/std"]
write_std = ["write_core", "std", "indexmap?/std", "crc32fast/std"]
# Write support for all file formats, including libstd features.
write = ["write_std", "coff", "elf", "macho", "pe", "xcoff"]

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ See [`crates/examples`](crates/examples) for more examples.
Changes to MSRV are considered breaking changes. We are conservative about changing the MSRV,
but sometimes are required to due to dependencies. The MSRV is:

* 1.52.0 for the `read` feature and its dependencies.
* 1.61.0 for the `write` feature and its dependencies.
* 1.60.0 for the `read` feature and its dependencies.
* 1.64.0 for the `write` feature and its dependencies.

## License

Expand Down
2 changes: 1 addition & 1 deletion clippy.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
msrv = "1.52.0"
msrv = "1.60.0"

0 comments on commit 8f802d1

Please sign in to comment.