Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove option from file hashes #7

Merged
merged 1 commit into from
Jun 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/structures/version_structs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ pub struct VersionFile {
#[derive(Deserialize, Serialize, Debug, Clone)]
pub struct Hashes {
/// The SHA512 hash of the version file
pub sha512: Option<String>,
pub sha512: String,
/// The SHA1 hash of the version file
pub sha1: Option<String>,
pub sha1: String,
}

/// A dependency which describes what versions are required, break support, or are optional to the version's functionality
Expand Down