Skip to content

Commit

Permalink
version bump and preflight fixes (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
m00sey authored Mar 6, 2023
1 parent f00a844 commit 768a1a3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cesride"
version = "0.1.3"
version = "0.2.0-alpha"
edition = "2021"
description = "Cryptographic primitives for use with Composable Event Streaming Representation (CESR)"
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion src/core/serder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub struct Serder {

fn validate_ident(ident: &str) -> Result<()> {
if ident != Identage::KERI {
return err!(Error::Validation(format!("unexpected ident {}", ident)));
return err!(Error::Validation(format!("unexpected ident {ident}")));
}

Ok(())
Expand Down
2 changes: 1 addition & 1 deletion src/core/tholder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ impl Tholder {
}
} else {
let thold = self.thold().to_i64()?;
let sith = format!("{t:x}", t = thold);
let sith = format!("{thold:x}");
Ok(data!(&sith))
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ impl fmt::Display for Value {
// hopefully unreachable (.to_json() should never blow up)
Err(_) => return Err(fmt::Error),
};
write!(f, "{}", json)
write!(f, "{json}")
}
}

Expand Down

0 comments on commit 768a1a3

Please sign in to comment.