Skip to content

fix: resolve breaking changes from geo 0.32 and rusty-leveldb 4 bumps#783

Merged
louis-e merged 1 commit intomainfrom
fix/geo-rusty-leveldb-compat
Mar 14, 2026
Merged

fix: resolve breaking changes from geo 0.32 and rusty-leveldb 4 bumps#783
louis-e merged 1 commit intomainfrom
fix/geo-rusty-leveldb-compat

Conversation

@louis-e
Copy link
Owner

@louis-e louis-e commented Mar 14, 2026

  • geo 0.32.0 removed the concavity argument from concave_hull(); migrate to concave_hull_with_options(ConcaveHullOptions { concavity, ..Default::default() })
  • rusty-leveldb 4.x is incompatible with bedrockrs_level which requires 3.x; revert direct dependency back to version 3

- geo 0.32.0 removed the concavity argument from concave_hull(); migrate to
  concave_hull_with_options(ConcaveHullOptions { concavity, ..Default::default() })
- rusty-leveldb 4.x is incompatible with bedrockrs_level which requires 3.x;
  revert direct dependency back to version 3
Copilot AI review requested due to automatic review settings March 14, 2026 17:14
@louis-e louis-e merged commit e47b86a into main Mar 14, 2026
4 of 5 checks passed
@louis-e louis-e deleted the fix/geo-rusty-leveldb-compat branch March 14, 2026 17:14
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the codebase to compile cleanly after upstream dependency changes in geo (0.32.x API change) and resolves a Bedrock feature dependency incompatibility by aligning rusty-leveldb back to the 3.x series.

Changes:

  • Migrate MultiPoint::concave_hull() usage to concave_hull_with_options(ConcaveHullOptions { ... }) for geo 0.32.0 compatibility.
  • Revert rusty-leveldb direct dependency from 4.x to 3.x to match bedrockrs_level expectations.
  • Refresh Cargo.lock to remove the rusty-leveldb 4.x tree and associated dependencies.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
src/urban_ground.rs Updates concave hull callsite to the new geo 0.32 options-based API.
Cargo.toml Pins optional rusty-leveldb back to major version 3 for Bedrock compatibility.
Cargo.lock Reflects dependency graph changes (removes rusty-leveldb 4.x + crc32c).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

⏱️ Benchmark run finished in 0m 25s
🧠 Peak memory usage: 1094 MB

📈 Compared against baseline: 30s
🧮 Delta: -5s
🔢 Commit: ce288b1

⚠️ This PR worsens generation time.

📅 Last benchmark: 2026-03-14 17:17:39 UTC

You can retrigger the benchmark by commenting retrigger-benchmark.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants