Adding escape_string library as a dependency

Run this command in a terminal, in your project's directory:

cargo add escape_string

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

escape_string = "0.1.2"

The escape_string library will be automatically available globally. Read the escape_string library documentation.

Back to the crate overview.