Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ foreach = []
# Last-Modified conditional revalidation with streaming, ranged (parallel)
# fetches for large objects. Backs the `dc:` input prefix usable by any qsv
# command. See `qsv get --help`.
get = ["zstd"]
get = ["zstd", "flate2"]
# get_cloud: adds cloud object-storage sources (s3://, gs://, az://) to `get`,
# via the object_store crate. Opt-in so a bare `-F get` build stays lean;
# included in distrib_features/qsvmcp/datapusher_plus (where polars already
Expand All @@ -590,7 +590,9 @@ geocode = [
"rmp-serde",
"sled",
]
luau = ["mlua", "sanitize-filename"]
# luau lookup tables auto-decompress remote .gz/.zlib/.zst/.zip/.sz sources, so
# luau pulls the flate2 + zstd codecs (.zip/.sz need no extra deps). See #1417.
luau = ["mlua", "sanitize-filename", "flate2", "zstd"]
magika = ["dep:magika", "dep:ort"]
mcp = []
polars = ["dep:polars", "bytemuck"]
Expand All @@ -617,7 +619,10 @@ lite = []
datapusher_plus = ["geocode", "get", "get_cloud", "polars", "profile", "self_update"]
ui = ["clipboard", "color", "prompt", "lens"]
jemallocator = ["tikv-jemallocator", "tikv-jemalloc-ctl"]
feature_capable = []
# feature_capable backs the always-compiled commands that consume lookup tables
# (validate/template/describegpt). Pull flate2 + zstd so their remote lookups
# auto-decompress .gz/.zlib/.zst (alongside the always-available .zip/.sz). #1417.
feature_capable = ["flate2", "zstd"]
nightly = [
"crc32fast/nightly",
"pyo3/nightly",
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,8 @@ Compare that to [zip 3.0](https://infozip.sourceforge.net/Zip.html), which compr
>
> This automatic decompression applies both to commands that read through qsv's standard CSV reader (e.g. `count`, `stats`, `frequency`) and to reference data loaded as `luau`, `validate` & `describegpt` lookup tables.
>
> Compressed **remote/downloaded** sources are also auto-decompressed *before* caching, so the cached copy is plain CSV (correctly delimited, auto-indexed): remote `luau`/`validate`/`describegpt` lookup tables (http/https, `dathere://`, `ckan://`) and `get`/`dc:` cached resources. `.zip`/`.sz` work in every build that has those commands; `.gz`/`.zlib`/`.zst` need the `flate2`/`zstd` codecs (bundled in the standard `qsv` & `qsvmcp` builds), otherwise an actionable error names the missing build feature.
>
> Commands with Extended and Limited Extended Input support handle `.zip` differently: they expand a `.zip`'s contents as input files (all entries for Extended Input commands like `cat`/`sqlp`/`to`; only the first entry for Limited Extended Input commands like `slice`/`tojsonl`).

## RFC 4180 CSV Standard
Expand Down
Binary file added resources/test/boston311-100.csv.multimember.gz
Binary file not shown.
Loading
Loading