cargo: update

This commit is contained in:
nym21
2025-08-26 23:34:38 +02:00
parent 0aba3bc1d8
commit 82ceb7f021
4 changed files with 11 additions and 13 deletions
Generated
+4 -4
View File
@@ -1198,18 +1198,18 @@ dependencies = [
[[package]] [[package]]
name = "clap" name = "clap"
version = "4.5.45" version = "4.5.46"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1fc0e74a703892159f5ae7d3aac52c8e6c392f5ae5f359c70b5881d60aaac318" checksum = "2c5e4fcf9c21d2e544ca1ee9d8552de13019a42aa7dbf32747fa7aaf1df76e57"
dependencies = [ dependencies = [
"clap_builder", "clap_builder",
] ]
[[package]] [[package]]
name = "clap_builder" name = "clap_builder"
version = "4.5.44" version = "4.5.46"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b3e7f4214277f3c7aa526a59dd3fbe306a370daee1f8b7b8c987069cd8e888a8" checksum = "fecb53a0e6fcfb055f686001bc2e2592fa527efaf38dbe81a6a9563562e57d41"
dependencies = [ dependencies = [
"anstream", "anstream",
"anstyle", "anstyle",
+1 -1
View File
@@ -20,7 +20,7 @@ brk_logger = { workspace = true }
brk_parser = { workspace = true } brk_parser = { workspace = true }
brk_server = { workspace = true } brk_server = { workspace = true }
vecdb = { workspace = true } vecdb = { workspace = true }
clap = { version = "4.5.45", features = ["string"] } clap = { version = "4.5.46", features = ["string"] }
clap_derive = "4.5.45" clap_derive = "4.5.45"
color-eyre = "0.6.5" color-eyre = "0.6.5"
log = { workspace = true } log = { workspace = true }
+5 -7
View File
@@ -35,13 +35,13 @@
chartOptions, chartOptions,
); );
const baseURL = "https://bitview.space/api";
const minDate = "2022-11-09"; const minDate = "2022-11-09";
// const minDate = "2023-11-09"; // const minDate = "2023-11-09";
let dates = await ( let dates = await (
await fetch( await fetch(`${baseURL}/vecs/dateindex-to-date?from=-10000`)
"https://next.bitray.xyz/api/vecs/dateindex-to-date?from=-10000",
)
).json(); ).json();
let i = 0; let i = 0;
console.log( console.log(
@@ -54,9 +54,7 @@
const from = dates.length; const from = dates.length;
const ohlcs = await ( const ohlcs = await (
await fetch( await fetch(`${baseURL}/vecs/dateindex-to-ohlc?from=-${from}`)
`https://next.bitray.xyz/api/vecs/dateindex-to-ohlc?from=-${from}`,
)
).json(); ).json();
chart.addSeries(lc.CandlestickSeries, {}, 0).setData( chart.addSeries(lc.CandlestickSeries, {}, 0).setData(
@@ -74,7 +72,7 @@
const sopr = ( const sopr = (
await ( await (
await fetch( await fetch(
`https://next.bitray.xyz/api/vecs/dateindex-to-utxos-up-to-${cohort}-old-spent-output-profit-ratio?from=-${from}`, `${baseURL}/vecs/dateindex-to-utxos-up-to-${cohort}-old-spent-output-profit-ratio?from=-${from}`,
) )
).json() ).json()
).map((v) => v - 1); ).map((v) => v - 1);
+1 -1
View File
@@ -3824,7 +3824,7 @@ function createPartialOptions({ env, colors, vecIdToIndexes }) {
tree: [ tree: [
{ {
name: "Status", name: "Status",
url: () => "https://status.bitcoinresearchkit.org/", url: () => "https://status.bitview.space/",
}, },
{ {
name: "Self", name: "Self",