Skip to content

Commit

Permalink
refactor(cli): remove geoparquet feature
Browse files Browse the repository at this point in the history
We just turn it on

Closes #402
  • Loading branch information
gadomski committed Sep 19, 2024
1 parent 1693405 commit b8ad517
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,12 @@ jobs:
uses: Swatinem/rust-cache@v2
- name: Check w/ no default features
run: cargo check --no-default-features
- name: Check w/ geoparquet
run: cargo check --no-default-features -F geoparquet
- name: Check w/ pgstac
run: cargo check --no-default-features -F pgstac
- name: Check w/ python
run: cargo check --no-default-features -F python
- name: Test
run: cargo test --no-default-features -F geoparquet -F pgstac -F python
run: cargo test --no-default-features -F pgstac -F python
test-cli-with-gdal:
runs-on: ubuntu-latest
strategy:
Expand Down
8 changes: 4 additions & 4 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ categories = ["science", "data-structures"]
rust-version = "1.75"

[features]
default = ["gdal", "geoparquet", "pgstac"]
default = ["gdal", "pgstac"]
duckdb = ["dep:stac-duckdb", "dep:duckdb"]
gdal = ["stac/gdal"]
geoparquet = ["stac/geoparquet-compression"]
pgstac = ["stac-server/pgstac", "dep:pgstac"]
python = ["dep:pyo3", "pgstac", "geoparquet"]
python = ["dep:pyo3", "pgstac"]

[dependencies]
axum = "0.7"
Expand All @@ -30,8 +29,9 @@ reqwest = "0.12"
serde = "1"
serde_json = "1"
stac = { version = "0.9.0", path = "../core", features = [
"reqwest",
"geoparquet-compression",
"object-store-all",
"reqwest",
] }
stac-api = { version = "0.5.0", path = "../api", features = ["client"] }
stac-duckdb = { version = "0.0.1", path = "../duckdb", optional = true }
Expand Down

0 comments on commit b8ad517

Please sign in to comment.