feat: v0.1.1
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user