diff options
| author | Satya Rohith <me@satyarohith.com> | 2024-06-14 17:10:57 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-14 17:10:57 +0530 |
| commit | 0f48313565ed2620efbd9d0f2203b57f8f126e6a (patch) | |
| tree | 39e348917188b7524eadc138dfcf80f92a185ac6 /cli/tools/registry | |
| parent | e19ee6eecc416a99801231ac53f2c512ba1f81dd (diff) | |
chore: upgrade to rust 1.79 (#24207)
Diffstat (limited to 'cli/tools/registry')
| -rw-r--r-- | cli/tools/registry/api.rs | 1 | ||||
| -rw-r--r-- | cli/tools/registry/provenance.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/cli/tools/registry/api.rs b/cli/tools/registry/api.rs index c7097267d..ee9579a19 100644 --- a/cli/tools/registry/api.rs +++ b/cli/tools/registry/api.rs @@ -39,6 +39,7 @@ pub struct OidcTokenResponse { #[derive(serde::Deserialize)] #[serde(rename_all = "camelCase")] pub struct PublishingTaskError { + #[allow(dead_code)] pub code: String, pub message: String, } diff --git a/cli/tools/registry/provenance.rs b/cli/tools/registry/provenance.rs index 7fa2be381..622e483d6 100644 --- a/cli/tools/registry/provenance.rs +++ b/cli/tools/registry/provenance.rs @@ -570,6 +570,7 @@ static DEFAULT_REKOR_URL: Lazy<String> = Lazy::new(|| { #[derive(Debug, Deserialize)] #[serde(rename_all = "camelCase")] pub struct LogEntry { + #[allow(dead_code)] #[serde(rename = "logID")] pub log_id: String, pub log_index: u64, |
