darkirc: Remove unused dependencies.

This commit is contained in:
parazyd
2023-07-21 09:10:30 +02:00
parent de2c61e81b
commit a701d40a84
3 changed files with 2 additions and 18 deletions

10
Cargo.lock generated
View File

@@ -1822,7 +1822,6 @@ dependencies = [
"libsqlite3-sys",
"log",
"rand 0.8.5",
"ripemd",
"rustls-pemfile",
"serde",
"serde_json",
@@ -4893,15 +4892,6 @@ dependencies = [
"winapi",
]
[[package]]
name = "ripemd"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f"
dependencies = [
"digest 0.10.7",
]
[[package]]
name = "rkyv"
version = "0.7.42"

View File

@@ -12,7 +12,7 @@ repository = "https://github.com/darkrenaissance/darkfi"
darkfi = {path = "../../", features = ["event-graph", "rpc", "bs58"]}
darkfi-serial = {path = "../../src/serial"}
# Async
# TLS
async-rustls = "0.4.0"
async-trait = "0.1.71"
futures = "0.3.28"
@@ -25,15 +25,11 @@ rand = "0.8.5"
# Misc
clap = {version = "4.3.17", features = ["derive"]}
chrono = "0.4.26"
libsqlite3-sys = {version = "0.26.0", features = ["bundled-sqlcipher-vendored-openssl"]}
log = "0.4.19"
ripemd = "0.1.3"
sled = "0.34.7"
url = "2.4.0"
# Encoding and parsing
bs58 = "0.5.0"
hex = "0.4.3"
serde_json = "1.0.103"
toml = "0.7.6"

View File

@@ -18,13 +18,11 @@
use std::collections::BTreeMap;
use sled::IVec;
use crate::PrivMsgEvent;
#[derive(Debug, Clone, Default)]
pub struct NickServ {
_db: BTreeMap<IVec, IVec>,
_db: BTreeMap<Vec<u8>, Vec<u8>>,
}
impl NickServ {