This also radically changes the API. The free functions in the bash and sh modules are gone. Indeed, those modules are no longer public. Instead there are associated functions on Bash and Sh structs. These each implement Quoter which allows them to be used with the new extension trait, QuoteExt, which provides two methods on Vec<u8>, OsString (Unix only), and String.
This also radically changes the API. The free functions in the
bash
andsh
modules are gone. Indeed, those modules are no longer public. Instead there are associated functions onBash
andSh
structs. These each implementQuoter
which allows them to be used with the new extension trait,QuoteExt
, which provides two methods onVec<u8>
,OsString
(Unix only), andString
.