chore: don't use fork for now

This commit is contained in:
rvcas 2025-02-18 14:47:01 -05:00 committed by Lucas
parent cc729a70ca
commit 7472428fed
3 changed files with 12 additions and 10 deletions

17
Cargo.lock generated vendored
View File

@ -648,7 +648,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c" checksum = "117725a109d387c937a1533ce01b450cbde6b88abceea8473c4d7a85853cda3c"
dependencies = [ dependencies = [
"lazy_static", "lazy_static",
"windows-sys 0.48.0", "windows-sys 0.59.0",
] ]
[[package]] [[package]]
@ -1043,7 +1043,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d"
dependencies = [ dependencies = [
"libc", "libc",
"windows-sys 0.52.0", "windows-sys 0.59.0",
] ]
[[package]] [[package]]
@ -2888,7 +2888,7 @@ dependencies = [
"errno", "errno",
"libc", "libc",
"linux-raw-sys", "linux-raw-sys",
"windows-sys 0.52.0", "windows-sys 0.59.0",
] ]
[[package]] [[package]]
@ -3202,7 +3202,7 @@ dependencies = [
"cfg-if", "cfg-if",
"libc", "libc",
"psm", "psm",
"windows-sys 0.52.0", "windows-sys 0.59.0",
] ]
[[package]] [[package]]
@ -3362,7 +3362,7 @@ dependencies = [
"getrandom 0.3.1", "getrandom 0.3.1",
"once_cell", "once_cell",
"rustix", "rustix",
"windows-sys 0.52.0", "windows-sys 0.59.0",
] ]
[[package]] [[package]]
@ -3377,8 +3377,9 @@ dependencies = [
[[package]] [[package]]
name = "textplots" name = "textplots"
version = "0.9.6" version = "0.8.6"
source = "git+https://github.com/aiken-lang/textplots-rs.git?rev=030ba441c2c630eb1ebd16430c724c33d3408f8d#030ba441c2c630eb1ebd16430c724c33d3408f8d" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f59b64803118dbff62f92842b3154a2c802dfd8e18660132bbcbfb141c637ae3"
dependencies = [ dependencies = [
"drawille", "drawille",
"rgb", "rgb",
@ -3917,7 +3918,7 @@ version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb"
dependencies = [ dependencies = [
"windows-sys 0.48.0", "windows-sys 0.59.0",
] ]
[[package]] [[package]]

View File

@ -47,7 +47,7 @@ semver = { version = "1.0.23", features = ["serde"] }
serde = { version = "1.0.152", features = ["derive"] } serde = { version = "1.0.152", features = ["derive"] }
serde_json = { version = "1.0.94", features = ["preserve_order"] } serde_json = { version = "1.0.94", features = ["preserve_order"] }
strip-ansi-escapes = "0.1.1" strip-ansi-escapes = "0.1.1"
textplots = { git = "https://github.com/aiken-lang/textplots-rs.git", rev = "030ba441c2c630eb1ebd16430c724c33d3408f8d", version = "0.9.6" } textplots = "0.8.6"
thiserror = "1.0.39" thiserror = "1.0.39"
tokio = { version = "1.26.0", features = ["full"] } tokio = { version = "1.26.0", features = ["full"] }
toml = "0.7.2" toml = "0.7.2"

View File

@ -629,7 +629,8 @@ fn plot(color: &RGB8, points: Vec<(f32, f32)>, max_size: usize) -> String {
let mut chart = Chart::new(80, 50, 1.0, max_size as f32); let mut chart = Chart::new(80, 50, 1.0, max_size as f32);
let plot = Shape::Lines(&points); let plot = Shape::Lines(&points);
let chart = chart.linecolorplot(&plot, *color); let chart = chart.linecolorplot(&plot, *color);
chart.borders(); // TODO: reintroduce this after this is merged - https://github.com/loony-bean/textplots-rs/pull/57
// chart.borders();
chart.axis(); chart.axis();
chart.figures(); chart.figures();
chart.to_string() chart.to_string()