feat: update crates

This commit is contained in:
2025-04-30 01:23:16 +08:00
parent 21676451fd
commit 3af863762f
3 changed files with 169 additions and 121 deletions

View File

@@ -26,6 +26,8 @@ impl Command for CommandImpl {
fn run(&self, _arg_matches: &ArgMatches, sub_arg_matches: &ArgMatches) -> CommandError {
let _parameter = sub_arg_matches.value_of("parameter").unwrap();
// TODO do get public key
let mut json = BTreeMap::new();
json.insert("success", Value::Bool(true));
json.insert("public_key_base64", "**".into());

View File

@@ -42,6 +42,8 @@ impl Command for CommandImpl {
let _parameter = sub_arg_matches.value_of("parameter").unwrap();
let _message_base64 = sub_arg_matches.value_of("message-base64").unwrap();
// TODO do sign
let mut json = BTreeMap::new();
json.insert("success", Value::Bool(true));
json.insert("signature_base64", "**".into());