This commit is contained in:
shenjack 2024-01-24 14:41:08 +08:00
parent 053d126b62
commit 9a716af400
Signed by: shenjack
GPG Key ID: 7B1134A979775551
3 changed files with 13 additions and 0 deletions

11
ica-rs/Cargo.lock generated
View File

@ -154,6 +154,16 @@ version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "colored"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cbf2150cce219b664a8a70df7a1f933836724b503f8a413af9365b4dcc4d90b8"
dependencies = [
"lazy_static",
"windows-sys 0.48.0",
]
[[package]] [[package]]
name = "const-oid" name = "const-oid"
version = "0.9.5" version = "0.9.5"
@ -540,6 +550,7 @@ dependencies = [
name = "ica-rs" name = "ica-rs"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"colored",
"ed25519", "ed25519",
"ed25519-dalek", "ed25519-dalek",
"hex", "hex",

View File

@ -13,6 +13,7 @@ hex = "0.4.3"
rust_socketio = "0.4.4" rust_socketio = "0.4.4"
serde_json = "1.0.108" serde_json = "1.0.108"
toml = "0.8.8" toml = "0.8.8"
colored = "2.1.0"
[patch.crates-io] [patch.crates-io]
rust_socketio = { path = "../../../rust-socketio/socketio" } rust_socketio = { path = "../../../rust-socketio/socketio" }

View File

@ -1,5 +1,6 @@
mod client; mod client;
use colored::*;
use ed25519_dalek::{Signature, Signer, SigningKey}; use ed25519_dalek::{Signature, Signer, SigningKey};
use rust_socketio::{ClientBuilder, Event, Payload, RawClient}; use rust_socketio::{ClientBuilder, Event, Payload, RawClient};
use serde_json::Value; use serde_json::Value;