commit baaace48769627bec532ee8a856536bd888120dd
parent a6985ca019cc57c8c4734cc9e5d37650812ff3d0
Author: Zack Newman <zack@philomathiclife.com>
Date: Thu, 9 Jan 2025 11:06:41 -0700
suppress source order lint
Diffstat:
4 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
@@ -10,7 +10,7 @@ name = "webauthn_rp"
readme = "README.md"
repository = "https://git.philomathiclife.com/repos/webauthn_rp/"
rust-version = "1.82.0"
-version = "0.2.0"
+version = "0.2.1"
[package.metadata.docs.rs]
all-features = true
@@ -24,8 +24,8 @@ p384 = { version = "0.13.0", default-features = false, features = ["ecdsa"] }
precis-profiles = { version = "0.1.11", default-features = false }
rand = { version = "0.8.5", default-features = false, features = ["std", "std_rng"] }
rsa = { version = "0.9.7", default-features = false, features = ["sha2"] }
-serde = { version = "1.0.216", default-features = false, features = ["alloc"], optional = true }
-serde_json = { version = "1.0.133", default-features = false, features = ["alloc"], optional = true }
+serde = { version = "1.0.217", default-features = false, features = ["alloc"], optional = true }
+serde_json = { version = "1.0.135", default-features = false, features = ["alloc"], optional = true }
url = { version = "2.5.4", default-features = false }
[dev-dependencies]
@@ -33,7 +33,7 @@ data-encoding = { version = "2.6.0", default-features = false, features = ["allo
ed25519-dalek = { version = "2.1.1", default-features = false, features = ["alloc", "pkcs8"] }
p256 = { version = "0.13.2", default-features = false, features = ["pem"] }
p384 = { version = "0.13.0", default-features = false, features = ["pkcs8"] }
-serde_json = { version = "1.0.133", default-features = false, features = ["preserve_order"] }
+serde_json = { version = "1.0.135", default-features = false, features = ["preserve_order"] }
### FEATURES #################################################################
diff --git a/LICENSE-MIT b/LICENSE-MIT
@@ -1,4 +1,4 @@
-Copyright © 2024 Zack Newman
+Copyright © 2025 Zack Newman
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the
diff --git a/src/lib.rs b/src/lib.rs
@@ -193,6 +193,7 @@
clippy::suspicious
)]
#![expect(
+ clippy::arbitrary_source_item_ordering,
clippy::blanket_clippy_restriction_lints,
clippy::exhaustive_enums,
clippy::exhaustive_structs,
diff --git a/src/response/custom.rs b/src/response/custom.rs
@@ -3,7 +3,7 @@ impl<'a: 'b, 'b> TryFrom<&'a [u8]> for CredentialId<&'b [u8]> {
type Error = CredentialIdErr;
#[inline]
fn try_from(value: &'a [u8]) -> Result<Self, Self::Error> {
- Self::from_slice(value).map_err(CredentialIdErr::from)
+ Self::from_slice(value)
}
}
impl TryFrom<Vec<u8>> for CredentialId<Vec<u8>> {