mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-27 21:14:20 +01:00
4
Cargo.lock
generated
4
Cargo.lock
generated
@@ -2556,9 +2556,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "nostrdb"
|
||||
version = "0.3.0"
|
||||
version = "0.3.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "59da521fefb12cd1f1f0f26d15a2ab9f38860696f6c0bb674b9830a5bbc75990"
|
||||
checksum = "a4d574f011d7bca4fcb7167da332da7a73d5612b24a187df08f5a000de08d3f4"
|
||||
dependencies = [
|
||||
"bindgen",
|
||||
"cc",
|
||||
|
||||
@@ -32,7 +32,7 @@ env_logger = "0.10.0"
|
||||
puffin_egui = { version = "0.27.0", optional = true }
|
||||
puffin = { version = "0.19.0", optional = true }
|
||||
#nostrdb = { git = "https://github.com/damus-io/nostrdb-rs", rev = "2675e7244554e40c9ee10d82b42bc647fef4c17d" }
|
||||
nostrdb = "0.3.0"
|
||||
nostrdb = "0.3.2"
|
||||
hex = "0.4.3"
|
||||
base32 = "0.4.0"
|
||||
nostr-sdk = "0.29.0"
|
||||
|
||||
@@ -33,6 +33,10 @@ pub fn convert_enostr_filter(filter: &enostr::Filter) -> nostrdb::Filter {
|
||||
nfilter.since(since);
|
||||
}
|
||||
|
||||
if let Some(until) = filter.until {
|
||||
nfilter.until(until);
|
||||
}
|
||||
|
||||
if let Some(limit) = filter.limit {
|
||||
nfilter.limit(limit.into());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user