- Speed up encode function (now runs in ~72% less time / 3.5x improvement):
- BREAKING: Return typed errors rather than String
- Performance improvements
- Update to 2021 edition, README, metadata and dependency updates
- fix decoder crashing with out-of-bounds error (#37):
- protect against invalid polylines
- protect against potential overflow when shifting
- performance hit: 10-12%
- Fix dependencies to officially drop geo-types 0.6 - it was already effectively dropped with the bump to 0.10.0 (it wouldn't compile), so this isn't an additionally breaking change.
- Update Coordinates to Coord due to geo-types change
- This is a BREAKING change for geo-types 0.6 users
- Apply clippy suggestions
- Update dependencies
- Refactor decoding logic for perf improvement (#28)
- Update
geo-types
dependency to allow for 0.6 or 0.7 - Switch CI to Github actions
- Bump geo-types dependency to 0.6
- Add note on coordinate order
- Bump
geo-types
to 0.5
- Now accepts either a slice or a vec as argument to encode_polyline.
- Basic error handling for en– and decoding: rust-polyline
now returns a
Result
object, allowing it to handle incorrectly encoded polylines.