mgeisler / textwrap

An efficient and powerful Rust library for word wrapping text.
MIT License
446 stars 44 forks source link

Test with stable and nightly, build with 1.56 #518

Closed mgeisler closed 11 months ago

mgeisler commented 11 months ago

The one-month old fix in #515 has already caused problems because a test dependency has bumped its minimum supported Rust version (MSRV).

It turns out that Textwrap builds fine on old versions of Rust. It builds all the way back to Rust 1.56 which introduced the 2021 edition we use. To better reflect this, we now test with modern versions of Rust and we build with the old version.