Skip to content

Commit e98313a

Browse files
authored
chore(js): Clean up JS bindings, deleting most unused code (#1406)
It would be nice to have some minimal JS wasm bindings that work to do something, such as WKB parsing #1407
1 parent 7abc908 commit e98313a

48 files changed

Lines changed: 95 additions & 1595 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

js/Cargo.lock

Lines changed: 32 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ crate-type = ["cdylib", "rlib"]
1919
# to make debugging easier we'll include it as a default feature
2020
default = ["console_error_panic_hook"]
2121

22-
# Include algorithms on geometry arrays
23-
algorithm = []
2422
# Include Data classes for contiguous GeoArrow memory (PointData, etc)
2523
data = []
2624

@@ -91,6 +89,7 @@ futures = { version = "0.3.30", optional = true }
9189
geo = "0.31"
9290
geo-traits = "0.3"
9391
geoarrow-array = { path = "../rust/geoarrow-array" }
92+
geoarrow-cast = { path = "../rust/geoarrow-cast" }
9493
geoarrow-schema = { path = "../rust/geoarrow-schema" }
9594
geodesy = { version = "0.12", optional = true, features = ["js"] }
9695
geoparquet = { path = "../rust/geoparquet", optional = true }

js/src/algorithm/geo/affine_ops.rs

Lines changed: 0 additions & 33 deletions
This file was deleted.

js/src/algorithm/geo/area.rs

Lines changed: 0 additions & 63 deletions
This file was deleted.

js/src/algorithm/geo/bounding_rect.rs

Lines changed: 0 additions & 48 deletions
This file was deleted.

js/src/algorithm/geo/center.rs

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)