allenap / shell-quote

A Rust library for shell quoting strings, e.g. for interpolating into a Bash script. This is not as simple as most people think!
Apache License 2.0
5 stars 2 forks source link

Add `From<u8>` and `From<char>` to `Quotable` (alternative implementation) #25

Open allenap opened 3 months ago

allenap commented 3 months ago

Fixes #23, but u8/char only; not iterator. Adding iterator support results in conflicting impls. The ergonomics of more generality are poor in this instance. This is one of two alternative implementations (the other is #24). I'm not sure which I want to merge, or if I want to merge either of them.