bat icon indicating copy to clipboard operation
bat copied to clipboard

Fix lessopen feature

Open mhelsley opened this issue 4 months ago • 0 comments

RawOsString API changed in os_str_bytes ~7.0.0 and bat no longer builds with the lessopen feature because ::assert_from_raw_vec() is no longer merely deprecated and now requires selecting the "conversions" feature of os_str_bytes.

Bonus: ::from_string() is now deprecated in favor of ::new() because ::new() no longer copies and thus made from_string() obsolete.

Replaces #2938

mhelsley avatar Oct 03 '24 23:10 mhelsley