Skip to content

Commit

Permalink
deps: bump to latest polars; add simdutf8 mention to csv fork; corr…
Browse files Browse the repository at this point in the history
…ect comment typo

also `cargo update`d indirect dependencies
  • Loading branch information
jqnatividad committed Sep 8, 2024
1 parent 4e63fec commit ad758b0
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 26 deletions.
47 changes: 24 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ serial_test = { version = "3.1", features = ["file_locks"] }
[patch.crates-io]
# use our tweaked fork of csv crate
# the csv crate underpins a lot of qsv's functionality, so every perf tweak helps
# the main feature of this csv fork is accelerated UTF-8 validation using the simdutf8 crate
csv = { git = "https://github.com/jqnatividad/rust-csv", branch = "qsv-optimized" }
csv-core = { git = "https://github.com/jqnatividad/rust-csv", branch = "qsv-optimized" }
csv-index = { git = "https://github.com/jqnatividad/rust-csv", branch = "qsv-optimized" }
Expand Down Expand Up @@ -296,9 +297,9 @@ local-encoding = { git = "https://github.com/slonopotamus/local-encoding-rs", br
# BUILD NOTE: Be sure to set QSV_POLARS_REV below to the latest commit short hash or tag
# of polars/py-polars before building qsv. This allows us to show the polars rev/tag in --version.
# if we are using a release version of Rust Polars, leave QSV_POLARS_REV empty
# QSV_POLARS_REV=106e239
# QSV_POLARS_REV=6076421
# polars = { git = "https://github.com/pola-rs/polars", tag = "py-1.6.0" }
polars = { git = "https://github.com/pola-rs/polars", rev = "106e239" }
polars = { git = "https://github.com/pola-rs/polars", rev = "6076421" }

[features]
default = ["mimalloc"]
Expand Down
2 changes: 1 addition & 1 deletion src/cmd/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ struct StatsArgs {
}

impl StatsArgs {
/// this is for deserializing the stats.csv.jsonl file
// this is for deserializing the stats.csv.jsonl file
fn from_owned_value(value: &OwnedValue) -> Result<Self, Box<dyn std::error::Error>> {
Ok(Self {
arg_input: value["arg_input"].as_str().unwrap_or_default().to_string(),
Expand Down

0 comments on commit ad758b0

Please sign in to comment.