chore: fix lint issue

This commit is contained in:
nazeh
2025-02-13 21:06:11 +03:00
parent 2c8682e3a9
commit d98fb8e04d
3 changed files with 22 additions and 2 deletions

19
Cargo.lock generated
View File

@@ -2113,6 +2113,7 @@ dependencies = [
"log",
"pkarr",
"pubky-common 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"pubky-testnet 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"reqwest",
"thiserror 2.0.11",
"tokio",
@@ -2278,6 +2279,24 @@ dependencies = [
"url",
]
[[package]]
name = "pubky-testnet"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c758efdca49631891a38a12febf38011591ae437c697e88e51a14206a060d1e1"
dependencies = [
"anyhow",
"http-relay 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"mainline",
"pkarr-relay",
"pubky 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"pubky-common 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"pubky-homeserver 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"tokio",
"tracing-subscriber",
"url",
]
[[package]]
name = "pubky-timestamp"
version = "0.4.0"

View File

@@ -486,7 +486,7 @@ mod tests {
let mut iter = entry.read_content(&db, &rtxn).unwrap();
while let Some(Ok(chunk)) = iter.next() {
blob.extend_from_slice(&chunk);
blob.extend_from_slice(chunk);
}
}
@@ -528,7 +528,7 @@ mod tests {
let mut iter = entry.read_content(&db, &rtxn).unwrap();
while let Some(Ok(chunk)) = iter.next() {
blob.extend_from_slice(&chunk);
blob.extend_from_slice(chunk);
}
}

View File

@@ -49,6 +49,7 @@ web-sys = "0.3.77"
[dev-dependencies]
anyhow = "1.0.95"
futures-lite = "2.6.0"
pubky-testnet = "0.1.0"
tokio = "1.43.0"
tracing-subscriber = "0.3.19"