Prototype making geo-traits an optional dependency; support both 0.2 and 0.3 versions#149
Prototype making geo-traits an optional dependency; support both 0.2 and 0.3 versions#149kylebarron wants to merge 1 commit intomainfrom
geo-traits an optional dependency; support both 0.2 and 0.3 versions#149Conversation
I think you'd need a version of the functions for each version of the trait you're integrating with. Maybe something like: Note this violates the convention that features are additive, and seems like it still might be a breaking change? And then the caller would have to explicitly call Like I said, given how much work this is, it feels mostly academic at this point. |
What do you think is the right path forward here? For my own purposes, one path forward is a |
CHANGES.mdif knowledge of this change could be valuable to users.This seems to work fine on the read side, but the write side is fully based on geo-traits now, so it's not clear how to make it optional. If geo-traits is required, then how do we choose which version to call from
write_wkt?Ref #148 (comment)