a-b-street / osm2lanes

A common library and set of test cases for transforming OSM tags to lane specifications
https://a-b-street.github.io/osm2lanes/
Apache License 2.0
33 stars 2 forks source link

Use KString for Tags #197

Closed droogmic closed 2 years ago

droogmic commented 2 years ago

Use a dedicated crate for string handling

droogmic commented 2 years ago

I thought this had issue on stable:

Compiling kstring v2.0.0
error: `MaybeUninit::<T>::assume_init` is not yet stable as a const fn
   --> /home/droogmic/.cargo/registry/src/github.com-1ecc6299db9ec823/kstring-2.0.0/src/string.rs:844:17
    |
844 |                 std::mem::MaybeUninit::uninit().assume_init()
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: could not compile `kstring` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed

But apparently I needed to rustup update.