georust/wkt

Make geo-types a non-optional dependency

urschrei opened this issue · 3 comments

As part of #71 I've written some examples. However, the most simple "practical" example uses geo-types, which is enabled by default, but optional, which means we can't run --no-default-features in tests (The use of unstable nightly features notwithstanding).

Is there a reason to keep geo-types as an optional feature? Are there existing uses cases which don't make use of geo-types? Is it likely that potential users of the crate will be put off by a dependency on geo-types?

I'm quite in favour of this. I'm generally worried about compile times, but geo-types isn't that bad:

image

pka commented

I'm for leaving geo-types as default feature. This enables using the WKT parser for other geometry implementations (like geozero) without unnecessary dependencies.

Keeping it optional for now!