From bf50e2aeac2c54522a586efca6cb1c84d13b1cee Mon Sep 17 00:00:00 2001 From: ryan Date: Thu, 18 Jan 2024 23:49:56 -0500 Subject: [PATCH] keyfork-mnemonic-util: fixup not including smex --- Cargo.lock | 1 + crates/util/keyfork-mnemonic-util/Cargo.toml | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 64f2898..4141e2d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1786,6 +1786,7 @@ dependencies = [ "pbkdf2", "serde_json", "sha2", + "smex", ] [[package]] diff --git a/crates/util/keyfork-mnemonic-util/Cargo.toml b/crates/util/keyfork-mnemonic-util/Cargo.toml index cfc8c40..3707884 100644 --- a/crates/util/keyfork-mnemonic-util/Cargo.toml +++ b/crates/util/keyfork-mnemonic-util/Cargo.toml @@ -6,12 +6,17 @@ repository = "https://git.distrust.co/public/keyfork" edition = "2021" license = "MIT" +[features] +default = [] +bin = ["smex"] + [dependencies] # Included in rust sha2 = "0.10.7" hmac = "0.12.1" pbkdf2 = "0.12.2" +smex = { version = "0.1.0", path = "../smex", optional = true } [dev-dependencies] bip39 = "2.0.0"