diff --git a/Cargo.toml b/Cargo.toml index ed55af01..bdcdc893 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ local_offset = ["time/local-offset"] [dependencies] anyhow = "1.0.60" cfg-if = "1.0.0" -enum-iterator = "1.1.3" +enum-iterator = "~1.1.3" getset = "0.1.2" git2 = { version = "0.14.4", optional = true, default-features = false } rustc_version = { version = "0.4.0", optional = true } diff --git a/src/error.rs b/src/error.rs index 16e734ba..8ffcf018 100644 --- a/src/error.rs +++ b/src/error.rs @@ -27,6 +27,7 @@ impl fmt::Display for ErrKind { /// An error generated from the `vergen` library #[derive(Debug, thiserror::Error)] +#[allow(variant_size_differences)] pub(crate) enum Error { /// An error from the `git2` library #[cfg(feature = "git")]