[−][src]Crate newline_converter
A library for newline character converting.
This crate provides two functions: dos2unix
and unix2dos
that perform the conversion on strings.
The conversion functions are lazy - they don't perform any allocations if the input is already in correct format.
Functions
dos2unix | Converts DOS-style line endings ( |
unix2dos | Converts UNIX-style line endings ( |