diff --git a/CHANGELOG.md b/CHANGELOG.md index e058f49..c8acc62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +## [0.5.4] - 2025-02-19 + +### Added + +- CLI ([#46](https://github.com/stac-utils/stacrs/pull/46)) +- Config args to DuckDB client ([#42](https://github.com/stac-utils/stacrs/pull/42)) + ## [0.5.3] - 2025-02-07 ### Changed @@ -125,7 +132,8 @@ Non-functional release to fix releasing from Github actions. Initial release. -[Unreleased]: https://github.com/gadomski/stacrs/compare/v0.5.3...main +[Unreleased]: https://github.com/gadomski/stacrs/compare/v0.5.4...main +[0.5.4]: https://github.com/gadomski/stacrs/compare/v0.5.3...v0.5.4 [0.5.3]: https://github.com/gadomski/stacrs/compare/v0.5.2...v0.5.3 [0.5.2]: https://github.com/gadomski/stacrs/compare/v0.5.1...v0.5.2 [0.5.1]: https://github.com/gadomski/stacrs/compare/v0.5.0...v0.5.1 diff --git a/Cargo.lock b/Cargo.lock index 60f23dd..dd71b68 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -144,12 +144,6 @@ version = "1.0.95" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "34ac096ce696dc2fcabef30516bb13c0a68a11d30131d3df6f04711467681b04" -[[package]] -name = "appendlist" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e149dc73cd30538307e7ffa2acd3d2221148eaeed4871f246657b1c3eaa1cbd2" - [[package]] name = "approx" version = "0.5.1" @@ -595,26 +589,6 @@ dependencies = [ "generic-array", ] -[[package]] -name = "boon" -version = "0.6.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baa187da765010b70370368c49f08244b1ae5cae1d5d33072f76c8cb7112fe3e" -dependencies = [ - "ahash 0.8.11", - "appendlist", - "base64", - "fluent-uri", - "idna", - "once_cell", - "percent-encoding", - "regex", - "regex-syntax 0.8.5", - "serde", - "serde_json", - "url", -] - [[package]] name = "borrow-or-share" version = "0.2.2" @@ -891,15 +865,19 @@ dependencies = [ [[package]] name = "cql2" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54d494ac851ae99bc9e03e60b33b393319d98fb650b026f7decf2639d16b4b9a" +checksum = "8a873bc3126a63fb35568e48f321bbcf05dceb792bd6d7c35ec331352e648623" dependencies = [ - "boon", + "geo", "geo-types", "geojson", "geozero", + "jiff", + "json_dotpath", + "jsonschema", "lazy_static", + "like", "pest", "pest_derive", "pg_escape", @@ -907,6 +885,8 @@ dependencies = [ "serde_derive", "serde_json", "thiserror 2.0.11", + "unaccent", + "wkt 0.12.0", ] [[package]] @@ -1488,9 +1468,9 @@ checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" [[package]] name = "h2" -version = "0.4.7" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccae279728d634d083c00f6099cb58f01cc99c145b84b8be2f6c74618d79922e" +checksum = "5017294ff4bb30944501348f6f8e42e6ad28f42c8bbef7a74029aff064a4e3c2" dependencies = [ "atomic-waker", "bytes", @@ -1965,6 +1945,35 @@ version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" +[[package]] +name = "jiff" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3590fea8e9e22d449600c9bbd481a8163bef223e4ff938e5f55899f8cf1adb93" +dependencies = [ + "jiff-tzdb-platform", + "log", + "portable-atomic", + "portable-atomic-util", + "serde", + "windows-sys 0.59.0", +] + +[[package]] +name = "jiff-tzdb" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf2cec2f5d266af45a071ece48b1fb89f3b00b2421ac3a5fe10285a6caaa60d3" + +[[package]] +name = "jiff-tzdb-platform" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a63c62e404e7b92979d2792352d885a7f8f83fd1d0d31eea582d77b2ceca697e" +dependencies = [ + "jiff-tzdb", +] + [[package]] name = "jobserver" version = "0.1.32" @@ -1984,6 +1993,18 @@ dependencies = [ "wasm-bindgen", ] +[[package]] +name = "json_dotpath" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbdcfef3cf5591f0cef62da413ae795e3d1f5a00936ccec0b2071499a32efd1a" +dependencies = [ + "serde", + "serde_derive", + "serde_json", + "thiserror 1.0.69", +] + [[package]] name = "jsonschema" version = "0.29.0" @@ -2182,6 +2203,12 @@ dependencies = [ "redox_syscall", ] +[[package]] +name = "like" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fc7281e4b2b1a1fae03463a7c49dd21464de50251a450f6da9715c40c7b21a70" + [[package]] name = "linux-raw-sys" version = "0.4.15" @@ -2696,6 +2723,15 @@ version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "280dc24453071f1b63954171985a0b0d30058d287960968b9b2aca264c8d4ee6" +[[package]] +name = "portable-atomic-util" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507" +dependencies = [ + "portable-atomic", +] + [[package]] name = "postgres-protocol" version = "0.6.8" @@ -3749,7 +3785,7 @@ dependencies = [ [[package]] name = "stacrs" -version = "0.5.4-rc.0" +version = "0.5.4" dependencies = [ "clap", "duckdb", @@ -4265,9 +4301,9 @@ dependencies = [ [[package]] name = "typenum" -version = "1.17.0" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" +checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" [[package]] name = "ucd-trie" @@ -4275,6 +4311,15 @@ version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971" +[[package]] +name = "unaccent" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e732eb499ccf541e76badc7eb2a929cf8749cfd79022dde9e2cb4628d885a69a" +dependencies = [ + "unicode-normalization", +] + [[package]] name = "unicode-bidi" version = "0.3.18" @@ -4283,9 +4328,9 @@ checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5" [[package]] name = "unicode-ident" -version = "1.0.16" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a210d160f08b701c8721ba1c726c11662f877ea6b7094007e1ca9a1041945034" +checksum = "00e2473a93778eb0bad35909dff6a10d28e63f792f16ed15e404fca9d5eeedbe" [[package]] name = "unicode-normalization" @@ -4358,9 +4403,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.13.1" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced87ca4be083373936a67f8de945faa23b6b42384bd5b64434850802c6dccd0" +checksum = "8c1f41ffb7cf259f1ecc2876861a17e7142e63ead296f671f81f6ae85903e0d6" [[package]] name = "uuid-simd" diff --git a/Cargo.toml b/Cargo.toml index 2286c9c..42190b3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "stacrs" -version = "0.5.4-rc.0" +version = "0.5.4" edition = "2021" publish = false diff --git a/README.md b/README.md index d40ea30..5e04a23 100644 --- a/README.md +++ b/README.md @@ -74,10 +74,9 @@ In particular, our [example notebook](https://stac-utils.github.io/stacrs/latest ## CLI -We have a pip-installable command-line interface (CLI) that exposes much of the same functionality: +**stacrs** comes with a CLI: ```shell -$ python -m pip install stacrs-cli $ stacrs -h stacrs: A command-line interface for the SpatioTemporal Asset Catalog (STAC) @@ -105,7 +104,8 @@ Options: Print help (see more with '--help') ``` -The code for the CLI lives in the [stac-rs](https://github.com/stac-utils/stac-rs) repo, so please open any issues or feature requests over there, if possible. +> [!NOTE] +> Before **stacrs** v0.5.4, the CLI was its own PyPI package named **stacrs-cli**, which is no longer needed. ## Comparisons