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

Fix clippy warning #31

Merged
merged 3 commits into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "zipsign"
description = "Sign and verify `.zip` and `.tar.gz` files with an ed25519 signing key"
version = "0.1.1"
version = "0.1.2"
edition = "2021"
authors = ["René Kijewski <[email protected]>"]
repository = "https://github.com/Kijewski/zipsign"
Expand All @@ -14,7 +14,7 @@ default-members = [".", "api"]

[workspace.dependencies]
base64 = "0.22"
clap = { version = "4", features = ["derive"] }
clap = { version = "4.4", features = ["derive"] }
ed25519-dalek = { version = "2", features = ["digest"] }
normalize-path = "0.2"
pretty-error-debug = "0.3"
Expand All @@ -24,7 +24,7 @@ thiserror = "1"
zip = { version = "2", default-features = false }

[workspace.dependencies.zipsign-api]
version = "0.1.1"
version = "0.1.2"
path = "api"
default-features = false
features = ["tar", "zip"]
Expand Down
2 changes: 1 addition & 1 deletion api/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "zipsign-api"
description = "Sign and verify `.zip` and `.tar.gz` files with an ed25519 signing key"
version = "0.1.1"
version = "0.1.2"
edition = "2021"
authors = ["René Kijewski <[email protected]>"]
repository = "https://github.com/Kijewski/zipsign"
Expand Down
1 change: 1 addition & 0 deletions src/generate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ pub(crate) fn main(args: Cli) -> Result<(), Error> {
.map_err(|err| Error::Write(err, args.verifying_key))
}

#[allow(dead_code)]
trait NotUnixOpenOptionsExt {
#[inline(always)]
fn mode(&mut self, _mode: u32) -> &mut Self {
Expand Down