feat: v0.1.1

This commit is contained in:
2024-12-12 23:03:59 +08:00
parent 88e3eb6937
commit b7ee4fa227
2 changed files with 5 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "pinentry-util" name = "pinentry-util"
version = "0.1.0" version = "0.1.1"
edition = "2021" edition = "2021"
authors = ["Hatter Jiang"] authors = ["Hatter Jiang"]
repository = "https://git.hatter.ink/hatter/pinentry-util" repository = "https://git.hatter.ink/hatter/pinentry-util"

View File

@@ -21,6 +21,10 @@ impl Pin {
fn from(pin: String) -> Self { fn from(pin: String) -> Self {
Self { pin } Self { pin }
} }
pub fn get_pin(&self) -> &str {
&self.pin
}
} }
impl Debug for Pin { impl Debug for Pin {