Skip to content

Commit 09b8624

Browse files
Prevent E0658 by limiting enum-iterator version.
enum-iterator 1.2.0 is using unstable features, causing projects using vergen to fail when building: ``` error[E0658]: use of unstable library feature 'array_from_fn' --> /root/.cargo/registry/src/github.com-1285ae84e5963aae/enum-iterator-1.2.0/src/lib.rs:554:18 | 554 | Some(core::array::from_fn(|_| unreachable!())) | ^^^^^^^^^^^^^^^^^^^^ | = note: see issue #89379 <rust-lang/rust#89379> for more information ```
1 parent 3c34d24 commit 09b8624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ local_offset = ["time/local-offset"]
2828
[dependencies]
2929
anyhow = "1.0.60"
3030
cfg-if = "1.0.0"
31-
enum-iterator = "1.1.3"
31+
enum-iterator = "~1.1.3"
3232
getset = "0.1.2"
3333
git2 = { version = "0.14.4", optional = true, default-features = false }
3434
rustc_version = { version = "0.4.0", optional = true }

0 commit comments

Comments
 (0)