v0.2.0
First version that does makes sense
Major Features
- JSON Encoding: The
encode_geojson
function now returns a properjson.Json
type instead ofdynamic.Dynamic
, allowing for easy stringification withjson.to_string
. - Flexible Property Handling: Added support for encoding and decoding arbitrary Feature properties, providing greater flexibility when working with custom GeoJSON structures.
- Improved Type Safety: Introduced more type-safe representations of GeoJSON structures, including a dedicated
FeatureId
type. - Simplified Public API: The main encode and decode functions now cover all possible input types, streamlining the API.
Other Improvements
- Documentation: Significantly improved documentation, including more comprehensive docstrings and examples.
- Testing: Added more thorough test cases, including tests for real-life GeoJSON examples.
Full Changelog: v0.1.0...v0.2.0