mirror of
https://github.com/encounter/object.git
synced 2026-07-10 12:18:39 -07:00
Upgrade to hashbrown 0.14 and indexmap 2 (#558)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
+4
-4
@@ -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
|
||||
@@ -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"]
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
msrv = "1.52.0"
|
||||
msrv = "1.60.0"
|
||||
|
||||
Reference in New Issue
Block a user