upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-10-28 15:05:38 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2024-10-28 15:05:38 +0000
commit5979e13cdc65ea78894dbcab3acde11b246889a7 (patch)
tree9dfb0971847bfa3a5a064f39e01bd0415fd05946 /Cargo.lock
parente60a419510696e3fa25a35be6cba35e547b53e24 (diff)
refactor: replace sqlite with lmdb
as sqlite is depricated in rust-nostr
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock210
1 files changed, 148 insertions, 62 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 503a164..f5c0227 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -499,6 +499,9 @@ name = "bitflags"
499version = "2.6.0" 499version = "2.6.0"
500source = "registry+https://github.com/rust-lang/crates.io-index" 500source = "registry+https://github.com/rust-lang/crates.io-index"
501checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" 501checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
502dependencies = [
503 "serde",
504]
502 505
503[[package]] 506[[package]]
504name = "block-buffer" 507name = "block-buffer"
@@ -721,6 +724,15 @@ dependencies = [
721] 724]
722 725
723[[package]] 726[[package]]
727name = "crossbeam-queue"
728version = "0.3.11"
729source = "registry+https://github.com/rust-lang/crates.io-index"
730checksum = "df0346b5d5e76ac2fe4e327c5fd1118d6be7c51dfb18f9b7922923f287471e35"
731dependencies = [
732 "crossbeam-utils",
733]
734
735[[package]]
724name = "crossbeam-utils" 736name = "crossbeam-utils"
725version = "0.8.20" 737version = "0.8.20"
726source = "registry+https://github.com/rust-lang/crates.io-index" 738source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -839,6 +851,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
839checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1" 851checksum = "1435fa1053d8b2fbbe9be7e97eca7f33d37b28409959813daefc1446a14247f1"
840 852
841[[package]] 853[[package]]
854name = "doxygen-rs"
855version = "0.4.2"
856source = "registry+https://github.com/rust-lang/crates.io-index"
857checksum = "415b6ec780d34dcf624666747194393603d0373b7141eef01d12ee58881507d9"
858dependencies = [
859 "phf",
860]
861
862[[package]]
842name = "duplicate" 863name = "duplicate"
843version = "1.0.0" 864version = "1.0.0"
844source = "registry+https://github.com/rust-lang/crates.io-index" 865source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -936,18 +957,6 @@ dependencies = [
936] 957]
937 958
938[[package]] 959[[package]]
939name = "fallible-iterator"
940version = "0.3.0"
941source = "registry+https://github.com/rust-lang/crates.io-index"
942checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649"
943
944[[package]]
945name = "fallible-streaming-iterator"
946version = "0.1.9"
947source = "registry+https://github.com/rust-lang/crates.io-index"
948checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a"
949
950[[package]]
951name = "fastrand" 960name = "fastrand"
952version = "1.9.0" 961version = "1.9.0"
953source = "registry+https://github.com/rust-lang/crates.io-index" 962source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1205,15 +1214,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1205checksum = "1e087f84d4f86bf4b218b927129862374b72199ae7d8657835f1e89000eea4fb" 1214checksum = "1e087f84d4f86bf4b218b927129862374b72199ae7d8657835f1e89000eea4fb"
1206 1215
1207[[package]] 1216[[package]]
1208name = "hashlink"
1209version = "0.9.1"
1210source = "registry+https://github.com/rust-lang/crates.io-index"
1211checksum = "6ba4ff7128dee98c7dc9794b6a411377e1404dba1c97deb8d1a55297bd25d8af"
1212dependencies = [
1213 "hashbrown 0.14.5",
1214]
1215
1216[[package]]
1217name = "heck" 1217name = "heck"
1218version = "0.4.1" 1218version = "0.4.1"
1219source = "registry+https://github.com/rust-lang/crates.io-index" 1219source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1226,6 +1226,40 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1226checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" 1226checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
1227 1227
1228[[package]] 1228[[package]]
1229name = "heed"
1230version = "0.20.5"
1231source = "registry+https://github.com/rust-lang/crates.io-index"
1232checksum = "7d4f449bab7320c56003d37732a917e18798e2f1709d80263face2b4f9436ddb"
1233dependencies = [
1234 "bitflags 2.6.0",
1235 "byteorder",
1236 "heed-traits",
1237 "heed-types",
1238 "libc",
1239 "lmdb-master-sys",
1240 "once_cell",
1241 "page_size",
1242 "synchronoise",
1243 "url",
1244]
1245
1246[[package]]
1247name = "heed-traits"
1248version = "0.20.0"
1249source = "registry+https://github.com/rust-lang/crates.io-index"
1250checksum = "eb3130048d404c57ce5a1ac61a903696e8fcde7e8c2991e9fcfc1f27c3ef74ff"
1251
1252[[package]]
1253name = "heed-types"
1254version = "0.20.1"
1255source = "registry+https://github.com/rust-lang/crates.io-index"
1256checksum = "9d3f528b053a6d700b2734eabcd0fd49cb8230647aa72958467527b0b7917114"
1257dependencies = [
1258 "byteorder",
1259 "heed-traits",
1260]
1261
1262[[package]]
1229name = "hermit-abi" 1263name = "hermit-abi"
1230version = "0.3.9" 1264version = "0.3.9"
1231source = "registry+https://github.com/rust-lang/crates.io-index" 1265source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1545,17 +1579,6 @@ dependencies = [
1545] 1579]
1546 1580
1547[[package]] 1581[[package]]
1548name = "libsqlite3-sys"
1549version = "0.28.0"
1550source = "registry+https://github.com/rust-lang/crates.io-index"
1551checksum = "0c10584274047cb335c23d3e61bcef8e323adae7c5c8c760540f73610177fc3f"
1552dependencies = [
1553 "cc",
1554 "pkg-config",
1555 "vcpkg",
1556]
1557
1558[[package]]
1559name = "libssh2-sys" 1582name = "libssh2-sys"
1560version = "0.3.0" 1583version = "0.3.0"
1561source = "registry+https://github.com/rust-lang/crates.io-index" 1584source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1604,6 +1627,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1604checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" 1627checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89"
1605 1628
1606[[package]] 1629[[package]]
1630name = "lmdb-master-sys"
1631version = "0.2.4"
1632source = "registry+https://github.com/rust-lang/crates.io-index"
1633checksum = "472c3760e2a8d0f61f322fb36788021bb36d573c502b50fa3e2bcaac3ec326c9"
1634dependencies = [
1635 "cc",
1636 "doxygen-rs",
1637 "libc",
1638]
1639
1640[[package]]
1607name = "lnurl-pay" 1641name = "lnurl-pay"
1608version = "0.6.0" 1642version = "0.6.0"
1609source = "registry+https://github.com/rust-lang/crates.io-index" 1643source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1760,9 +1794,9 @@ dependencies = [
1760 "mockall", 1794 "mockall",
1761 "nostr", 1795 "nostr",
1762 "nostr-database", 1796 "nostr-database",
1797 "nostr-lmdb",
1763 "nostr-sdk", 1798 "nostr-sdk",
1764 "nostr-signer", 1799 "nostr-signer",
1765 "nostr-sqlite",
1766 "once_cell", 1800 "once_cell",
1767 "passwords", 1801 "passwords",
1768 "qrcode", 1802 "qrcode",
@@ -1851,6 +1885,19 @@ dependencies = [
1851] 1885]
1852 1886
1853[[package]] 1887[[package]]
1888name = "nostr-lmdb"
1889version = "0.35.0"
1890source = "git+https://github.com/rust-nostr/nostr?rev=4dbfa94#4dbfa94876b136869e2feea75288f0c6a0beaa0e"
1891dependencies = [
1892 "heed",
1893 "nostr",
1894 "nostr-database",
1895 "thiserror",
1896 "tokio",
1897 "tracing",
1898]
1899
1900[[package]]
1854name = "nostr-relay-pool" 1901name = "nostr-relay-pool"
1855version = "0.35.0" 1902version = "0.35.0"
1856source = "git+https://github.com/rust-nostr/nostr?rev=4dbfa94#4dbfa94876b136869e2feea75288f0c6a0beaa0e" 1903source = "git+https://github.com/rust-nostr/nostr?rev=4dbfa94#4dbfa94876b136869e2feea75288f0c6a0beaa0e"
@@ -1901,20 +1948,6 @@ dependencies = [
1901] 1948]
1902 1949
1903[[package]] 1950[[package]]
1904name = "nostr-sqlite"
1905version = "0.35.0"
1906source = "git+https://github.com/rust-nostr/nostr?rev=4dbfa94#4dbfa94876b136869e2feea75288f0c6a0beaa0e"
1907dependencies = [
1908 "async-trait",
1909 "nostr",
1910 "nostr-database",
1911 "rusqlite",
1912 "thiserror",
1913 "tokio",
1914 "tracing",
1915]
1916
1917[[package]]
1918name = "nostr-zapper" 1951name = "nostr-zapper"
1919version = "0.35.0" 1952version = "0.35.0"
1920source = "git+https://github.com/rust-nostr/nostr?rev=4dbfa94#4dbfa94876b136869e2feea75288f0c6a0beaa0e" 1953source = "git+https://github.com/rust-nostr/nostr?rev=4dbfa94#4dbfa94876b136869e2feea75288f0c6a0beaa0e"
@@ -2075,6 +2108,16 @@ dependencies = [
2075] 2108]
2076 2109
2077[[package]] 2110[[package]]
2111name = "page_size"
2112version = "0.6.0"
2113source = "registry+https://github.com/rust-lang/crates.io-index"
2114checksum = "30d5b2194ed13191c1999ae0704b7839fb18384fa22e49b57eeaa97d79ce40da"
2115dependencies = [
2116 "libc",
2117 "winapi",
2118]
2119
2120[[package]]
2078name = "parking" 2121name = "parking"
2079version = "2.2.1" 2122version = "2.2.1"
2080source = "registry+https://github.com/rust-lang/crates.io-index" 2123source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2140,6 +2183,48 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
2140checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" 2183checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"
2141 2184
2142[[package]] 2185[[package]]
2186name = "phf"
2187version = "0.11.2"
2188source = "registry+https://github.com/rust-lang/crates.io-index"
2189checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc"
2190dependencies = [
2191 "phf_macros",
2192 "phf_shared",
2193]
2194
2195[[package]]
2196name = "phf_generator"
2197version = "0.11.2"
2198source = "registry+https://github.com/rust-lang/crates.io-index"
2199checksum = "48e4cc64c2ad9ebe670cb8fd69dd50ae301650392e81c05f9bfcb2d5bdbc24b0"
2200dependencies = [
2201 "phf_shared",
2202 "rand",
2203]
2204
2205[[package]]
2206name = "phf_macros"
2207version = "0.11.2"
2208source = "registry+https://github.com/rust-lang/crates.io-index"
2209checksum = "3444646e286606587e49f3bcf1679b8cef1dc2c5ecc29ddacaffc305180d464b"
2210dependencies = [
2211 "phf_generator",
2212 "phf_shared",
2213 "proc-macro2",
2214 "quote",
2215 "syn 2.0.79",
2216]
2217
2218[[package]]
2219name = "phf_shared"
2220version = "0.11.2"
2221source = "registry+https://github.com/rust-lang/crates.io-index"
2222checksum = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b"
2223dependencies = [
2224 "siphasher",
2225]
2226
2227[[package]]
2143name = "pin-project" 2228name = "pin-project"
2144version = "1.1.5" 2229version = "1.1.5"
2145source = "registry+https://github.com/rust-lang/crates.io-index" 2230source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2579,20 +2664,6 @@ dependencies = [
2579] 2664]
2580 2665
2581[[package]] 2666[[package]]
2582name = "rusqlite"
2583version = "0.31.0"
2584source = "registry+https://github.com/rust-lang/crates.io-index"
2585checksum = "b838eba278d213a8beaf485bd313fd580ca4505a00d5871caeb1457c55322cae"
2586dependencies = [
2587 "bitflags 2.6.0",
2588 "fallible-iterator",
2589 "fallible-streaming-iterator",
2590 "hashlink",
2591 "libsqlite3-sys",
2592 "smallvec",
2593]
2594
2595[[package]]
2596name = "rustc-demangle" 2667name = "rustc-demangle"
2597version = "0.1.24" 2668version = "0.1.24"
2598source = "registry+https://github.com/rust-lang/crates.io-index" 2669source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2931,6 +3002,12 @@ dependencies = [
2931] 3002]
2932 3003
2933[[package]] 3004[[package]]
3005name = "siphasher"
3006version = "0.3.11"
3007source = "registry+https://github.com/rust-lang/crates.io-index"
3008checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d"
3009
3010[[package]]
2934name = "slab" 3011name = "slab"
2935version = "0.4.9" 3012version = "0.4.9"
2936source = "registry+https://github.com/rust-lang/crates.io-index" 3013source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3033,6 +3110,15 @@ dependencies = [
3033] 3110]
3034 3111
3035[[package]] 3112[[package]]
3113name = "synchronoise"
3114version = "1.0.1"
3115source = "registry+https://github.com/rust-lang/crates.io-index"
3116checksum = "3dbc01390fc626ce8d1cffe3376ded2b72a11bb70e1c75f404a210e4daa4def2"
3117dependencies = [
3118 "crossbeam-queue",
3119]
3120
3121[[package]]
3036name = "tempfile" 3122name = "tempfile"
3037version = "3.13.0" 3123version = "3.13.0"
3038source = "registry+https://github.com/rust-lang/crates.io-index" 3124source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -3073,8 +3159,8 @@ dependencies = [
3073 "git2", 3159 "git2",
3074 "nostr", 3160 "nostr",
3075 "nostr-database", 3161 "nostr-database",
3162 "nostr-lmdb",
3076 "nostr-sdk", 3163 "nostr-sdk",
3077 "nostr-sqlite",
3078 "once_cell", 3164 "once_cell",
3079 "rand", 3165 "rand",
3080 "rexpect", 3166 "rexpect",