upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2023-05-21 12:51:54 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2023-05-21 12:51:54 +0000
commitba3e447c928303de0a008a47ba237145f436b8aa (patch)
treeb5bdb4d6bec3ef7082bf34692bab8e03f675b9ab
parent667a3fe3073fa171a58070fd137ddd9be6c6292e (diff)
bump nostr-sdk
-rw-r--r--Cargo.lock108
-rw-r--r--Cargo.toml8
-rw-r--r--src/sub_commands/prs.rs2
3 files changed, 77 insertions, 41 deletions
diff --git a/Cargo.lock b/Cargo.lock
index a37e592..9fccfbe 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -81,12 +81,6 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
81 81
82[[package]] 82[[package]]
83name = "base64" 83name = "base64"
84version = "0.13.1"
85source = "registry+https://github.com/rust-lang/crates.io-index"
86checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8"
87
88[[package]]
89name = "base64"
90version = "0.21.0" 84version = "0.21.0"
91source = "registry+https://github.com/rust-lang/crates.io-index" 85source = "registry+https://github.com/rust-lang/crates.io-index"
92checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a" 86checksum = "a4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6a"
@@ -312,6 +306,12 @@ dependencies = [
312] 306]
313 307
314[[package]] 308[[package]]
309name = "data-encoding"
310version = "2.4.0"
311source = "registry+https://github.com/rust-lang/crates.io-index"
312checksum = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308"
313
314[[package]]
315name = "dialoguer" 315name = "dialoguer"
316version = "0.10.4" 316version = "0.10.4"
317source = "registry+https://github.com/rust-lang/crates.io-index" 317source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -676,9 +676,9 @@ checksum = "1788965e61b367cd03a62950836d5cd41560c3577d90e40e0819373194d1661c"
676dependencies = [ 676dependencies = [
677 "http", 677 "http",
678 "hyper", 678 "hyper",
679 "rustls", 679 "rustls 0.20.8",
680 "tokio", 680 "tokio",
681 "tokio-rustls", 681 "tokio-rustls 0.23.4",
682] 682]
683 683
684[[package]] 684[[package]]
@@ -897,11 +897,12 @@ dependencies = [
897 897
898[[package]] 898[[package]]
899name = "nostr" 899name = "nostr"
900version = "0.21.0" 900version = "0.22.0"
901source = "git+https://github.com/DanConwayDev/nostr.git#d2caf5521e06849ecf1b5663a4b70e3cc6c34a69" 901source = "registry+https://github.com/rust-lang/crates.io-index"
902checksum = "a38ff6fec17be97b6ea1e30a4913618c8e02b2e555b5188d01668f2e4fa09507"
902dependencies = [ 903dependencies = [
903 "aes", 904 "aes",
904 "base64 0.21.0", 905 "base64",
905 "bech32", 906 "bech32",
906 "bip39", 907 "bip39",
907 "bitcoin", 908 "bitcoin",
@@ -914,15 +915,14 @@ dependencies = [
914 "secp256k1", 915 "secp256k1",
915 "serde", 916 "serde",
916 "serde_json", 917 "serde_json",
917 "thiserror",
918 "url", 918 "url",
919] 919]
920 920
921[[package]] 921[[package]]
922name = "nostr-sdk" 922name = "nostr-sdk"
923version = "0.21.0" 923version = "0.22.0"
924source = "registry+https://github.com/rust-lang/crates.io-index" 924source = "registry+https://github.com/rust-lang/crates.io-index"
925checksum = "9d60df29fc0725e362c26e8b776dfa41ca23dc157fbb41ca81fdd6705268838c" 925checksum = "f424ef65e24900885e4ec03b5dddb97baa7ead89ce5ef30820cc186350711fe7"
926dependencies = [ 926dependencies = [
927 "gloo-timers", 927 "gloo-timers",
928 "log", 928 "log",
@@ -936,19 +936,19 @@ dependencies = [
936 936
937[[package]] 937[[package]]
938name = "nostr-sdk-net" 938name = "nostr-sdk-net"
939version = "0.21.0" 939version = "0.22.0"
940source = "registry+https://github.com/rust-lang/crates.io-index" 940source = "registry+https://github.com/rust-lang/crates.io-index"
941checksum = "5669dfdfeae7c85cfafa59bca1fadedbd8e494450a7e7249d6ccdcd4c41dcd2a" 941checksum = "0d9a530ec3e9998f207e1a2a06ddadded76e716b3082c5c7aad6555a6f4099a9"
942dependencies = [ 942dependencies = [
943 "futures-util", 943 "futures-util",
944 "thiserror", 944 "thiserror",
945 "tokio", 945 "tokio",
946 "tokio-rustls", 946 "tokio-rustls 0.24.0",
947 "tokio-socks", 947 "tokio-socks",
948 "tokio-tungstenite", 948 "tokio-tungstenite",
949 "url", 949 "url",
950 "webpki", 950 "webpki",
951 "webpki-roots", 951 "webpki-roots 0.23.0",
952 "ws_stream_wasm", 952 "ws_stream_wasm",
953] 953]
954 954
@@ -1130,7 +1130,7 @@ version = "0.11.17"
1130source = "registry+https://github.com/rust-lang/crates.io-index" 1130source = "registry+https://github.com/rust-lang/crates.io-index"
1131checksum = "13293b639a097af28fc8a90f22add145a9c954e49d77da06263d58cf44d5fb91" 1131checksum = "13293b639a097af28fc8a90f22add145a9c954e49d77da06263d58cf44d5fb91"
1132dependencies = [ 1132dependencies = [
1133 "base64 0.21.0", 1133 "base64",
1134 "bytes", 1134 "bytes",
1135 "encoding_rs", 1135 "encoding_rs",
1136 "futures-core", 1136 "futures-core",
@@ -1147,20 +1147,20 @@ dependencies = [
1147 "once_cell", 1147 "once_cell",
1148 "percent-encoding", 1148 "percent-encoding",
1149 "pin-project-lite", 1149 "pin-project-lite",
1150 "rustls", 1150 "rustls 0.20.8",
1151 "rustls-pemfile", 1151 "rustls-pemfile",
1152 "serde", 1152 "serde",
1153 "serde_json", 1153 "serde_json",
1154 "serde_urlencoded", 1154 "serde_urlencoded",
1155 "tokio", 1155 "tokio",
1156 "tokio-rustls", 1156 "tokio-rustls 0.23.4",
1157 "tokio-socks", 1157 "tokio-socks",
1158 "tower-service", 1158 "tower-service",
1159 "url", 1159 "url",
1160 "wasm-bindgen", 1160 "wasm-bindgen",
1161 "wasm-bindgen-futures", 1161 "wasm-bindgen-futures",
1162 "web-sys", 1162 "web-sys",
1163 "webpki-roots", 1163 "webpki-roots 0.22.6",
1164 "winreg", 1164 "winreg",
1165] 1165]
1166 1166
@@ -1215,12 +1215,34 @@ dependencies = [
1215] 1215]
1216 1216
1217[[package]] 1217[[package]]
1218name = "rustls"
1219version = "0.21.1"
1220source = "registry+https://github.com/rust-lang/crates.io-index"
1221checksum = "c911ba11bc8433e811ce56fde130ccf32f5127cab0e0194e9c68c5a5b671791e"
1222dependencies = [
1223 "log",
1224 "ring",
1225 "rustls-webpki",
1226 "sct",
1227]
1228
1229[[package]]
1218name = "rustls-pemfile" 1230name = "rustls-pemfile"
1219version = "1.0.2" 1231version = "1.0.2"
1220source = "registry+https://github.com/rust-lang/crates.io-index" 1232source = "registry+https://github.com/rust-lang/crates.io-index"
1221checksum = "d194b56d58803a43635bdc398cd17e383d6f71f9182b9a192c127ca42494a59b" 1233checksum = "d194b56d58803a43635bdc398cd17e383d6f71f9182b9a192c127ca42494a59b"
1222dependencies = [ 1234dependencies = [
1223 "base64 0.21.0", 1235 "base64",
1236]
1237
1238[[package]]
1239name = "rustls-webpki"
1240version = "0.100.1"
1241source = "registry+https://github.com/rust-lang/crates.io-index"
1242checksum = "d6207cd5ed3d8dca7816f8f3725513a34609c0c765bf652b8c3cb4cfd87db46b"
1243dependencies = [
1244 "ring",
1245 "untrusted",
1224] 1246]
1225 1247
1226[[package]] 1248[[package]]
@@ -1467,12 +1489,22 @@ version = "0.23.4"
1467source = "registry+https://github.com/rust-lang/crates.io-index" 1489source = "registry+https://github.com/rust-lang/crates.io-index"
1468checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59" 1490checksum = "c43ee83903113e03984cb9e5cebe6c04a5116269e900e3ddba8f068a62adda59"
1469dependencies = [ 1491dependencies = [
1470 "rustls", 1492 "rustls 0.20.8",
1471 "tokio", 1493 "tokio",
1472 "webpki", 1494 "webpki",
1473] 1495]
1474 1496
1475[[package]] 1497[[package]]
1498name = "tokio-rustls"
1499version = "0.24.0"
1500source = "registry+https://github.com/rust-lang/crates.io-index"
1501checksum = "e0d409377ff5b1e3ca6437aa86c1eb7d40c134bfec254e44c830defa92669db5"
1502dependencies = [
1503 "rustls 0.21.1",
1504 "tokio",
1505]
1506
1507[[package]]
1476name = "tokio-socks" 1508name = "tokio-socks"
1477version = "0.5.1" 1509version = "0.5.1"
1478source = "registry+https://github.com/rust-lang/crates.io-index" 1510source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1486,18 +1518,17 @@ dependencies = [
1486 1518
1487[[package]] 1519[[package]]
1488name = "tokio-tungstenite" 1520name = "tokio-tungstenite"
1489version = "0.18.0" 1521version = "0.19.0"
1490source = "registry+https://github.com/rust-lang/crates.io-index" 1522source = "registry+https://github.com/rust-lang/crates.io-index"
1491checksum = "54319c93411147bced34cb5609a80e0a8e44c5999c93903a81cd866630ec0bfd" 1523checksum = "ec509ac96e9a0c43427c74f003127d953a265737636129424288d27cb5c4b12c"
1492dependencies = [ 1524dependencies = [
1493 "futures-util", 1525 "futures-util",
1494 "log", 1526 "log",
1495 "rustls", 1527 "rustls 0.21.1",
1496 "tokio", 1528 "tokio",
1497 "tokio-rustls", 1529 "tokio-rustls 0.24.0",
1498 "tungstenite", 1530 "tungstenite",
1499 "webpki", 1531 "webpki-roots 0.23.0",
1500 "webpki-roots",
1501] 1532]
1502 1533
1503[[package]] 1534[[package]]
@@ -1557,18 +1588,18 @@ checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed"
1557 1588
1558[[package]] 1589[[package]]
1559name = "tungstenite" 1590name = "tungstenite"
1560version = "0.18.0" 1591version = "0.19.0"
1561source = "registry+https://github.com/rust-lang/crates.io-index" 1592source = "registry+https://github.com/rust-lang/crates.io-index"
1562checksum = "30ee6ab729cd4cf0fd55218530c4522ed30b7b6081752839b68fcec8d0960788" 1593checksum = "15fba1a6d6bb030745759a9a2a588bfe8490fc8b4751a277db3a0be1c9ebbf67"
1563dependencies = [ 1594dependencies = [
1564 "base64 0.13.1",
1565 "byteorder", 1595 "byteorder",
1566 "bytes", 1596 "bytes",
1597 "data-encoding",
1567 "http", 1598 "http",
1568 "httparse", 1599 "httparse",
1569 "log", 1600 "log",
1570 "rand", 1601 "rand",
1571 "rustls", 1602 "rustls 0.21.1",
1572 "sha1", 1603 "sha1",
1573 "thiserror", 1604 "thiserror",
1574 "url", 1605 "url",
@@ -1763,6 +1794,15 @@ dependencies = [
1763] 1794]
1764 1795
1765[[package]] 1796[[package]]
1797name = "webpki-roots"
1798version = "0.23.0"
1799source = "registry+https://github.com/rust-lang/crates.io-index"
1800checksum = "aa54963694b65584e170cf5dc46aeb4dcaa5584e652ff5f3952e56d66aff0125"
1801dependencies = [
1802 "rustls-webpki",
1803]
1804
1805[[package]]
1766name = "winapi" 1806name = "winapi"
1767version = "0.3.9" 1807version = "0.3.9"
1768source = "registry+https://github.com/rust-lang/crates.io-index" 1808source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/Cargo.toml b/Cargo.toml
index ac3e916..b913583 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,8 +13,8 @@ categories = ["command-line-utilities","git"]
13 13
14[dependencies] 14[dependencies]
15clap = { version = "4.1.6", features = ["derive"] } 15clap = { version = "4.1.6", features = ["derive"] }
16nostr = { version = "0.21" } 16nostr = { version = "0.22" }
17nostr-sdk = { version = "0.21", features = ["blocking"] } 17nostr-sdk = { version = "0.22", features = ["blocking"] }
18serde = { version = "1.0.147", features = ["derive"] } 18serde = { version = "1.0.147", features = ["derive"] }
19serde_json = "1.0.91" 19serde_json = "1.0.91"
20dialoguer = "0.10.4" 20dialoguer = "0.10.4"
@@ -22,7 +22,3 @@ indicatif = "0.17.3"
22thiserror = "1.0" 22thiserror = "1.0"
23confy = "0.5.1" 23confy = "0.5.1"
24git2 = "0.17.1" 24git2 = "0.17.1"
25
26[patch.crates-io]
27nostr = { git = 'https://github.com/DanConwayDev/nostr.git', features = ["blocking"] }
28
diff --git a/src/sub_commands/prs.rs b/src/sub_commands/prs.rs
index beafea4..e6619fd 100644
--- a/src/sub_commands/prs.rs
+++ b/src/sub_commands/prs.rs
@@ -75,7 +75,7 @@ pub fn prs(
75 println!( 75 println!(
76 "{}\n raised: {}", 76 "{}\n raised: {}",
77 outstanding_prs[i].content, 77 outstanding_prs[i].content,
78 outstanding_prs[i].created_at, //.to_human_datetime(), in v0.22 78 outstanding_prs[i].created_at.to_human_datetime(),
79 ); 79 );
80 80
81 let branch_id = tag_extract_value( 81 let branch_id = tag_extract_value(