bodoni / svg

Composer and parser for SVG
Other
302 stars 44 forks source link

Switch from str::Chars to io::Chars #7

Closed IvanUkhov closed 4 years ago

IvanUkhov commented 7 years ago

When io::Chars lands on stable, consider switching Reader from str::Chars to io::Chars so that the crate could truly work with abstract Readers and Writers instead of in-memory Strings.

cole-miller commented 4 years ago

Based on the discussion in that issue it looks like Read::chars is now deprecated and io::Chars will not be coming to std after all (unless I'm misreading something).

IvanUkhov commented 4 years ago

Yeah, I was checking it recently and came to a similar conclusion. Then there must be some other preferred way of doing this.