Commit Graph

4 Commits

Author SHA1 Message Date
Ryan Heywood 5424e66aed
**/Cargo.toml: refactorings 2023-08-31 23:11:42 -05:00
Ryan Heywood da09b95bae
keyfork-mnemonic-util: Mnemonic::seed(&self) -> Vec<u8> 2023-08-25 05:19:47 -05:00
Ryan Heywood 76c9214d73
keyfork-mnemonic-util: impl FromStr for Mnemonic
This changes the actual structure of Mnemonic since it requires
exclusively owned types when implementing FromStr. Now, Mnemonic
contains an Arc. Thread safety is required because of the Tokio
multithreaded runtime, hence an Arc instead of an Rc.

This does add some level of burden for people instantiating Mnemonics,
but `Wordlist::arc(self) -> Arc<Self>` has been provided as a
convenience method to make working with mnemonics easier.
2023-08-24 21:56:35 -05:00
Ryan Heywood 5d7a3c99ba
keyfork-mnemonic-util: split mnemonic utilities out of keyfork-mnemonic-generate 2023-08-18 22:52:37 -05:00