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

Update dependencies to new semver versions #11

Merged
merged 4 commits into from
Jan 15, 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
4 changes: 1 addition & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: XAMPPRocky/get-github-release@v1
id: cross
with:
owner: rust-embedded
owner: cross-rs
repo: cross
matches: ${{ matrix.platform }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -91,8 +91,6 @@ jobs:
matrix:
channel: [stable]
target:
- mips64-unknown-linux-muslabi64
- mips-unknown-linux-musl
- aarch64-unknown-linux-musl
- arm-unknown-linux-musleabihf
- i686-unknown-linux-musl
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ license = "Apache-2.0 OR MIT"

[features]
default = []
std = []
std = ["bitflags/std"]

[[example]]
name = "keyctl"
required-features = ["std"]

[dependencies]
libc = {version = "0.2.132", default-features = false}
bitflags = "1.3"
bitflags = {version = "2.4", default-features = false}

[dev-dependencies]
zeroize = "1.5.7"
clap = {version = "3.2.22", default-features = false, features = ["std", "derive"]}
clap = {version = "4.4.11", default-features = false, features = ["std", "derive"]}
2 changes: 1 addition & 1 deletion src/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub struct Key(KeySerialId);

impl fmt::Display for Key {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
let info = self.metadata().map_err(|_| fmt::Error::default())?;
let info = self.metadata().map_err(|_| fmt::Error)?;
write!(f, "Key({:?})", info)
}
}
Expand Down
Loading