escape_it_lib 0.1.0

Converts white-space characters into their escaped versions in provided Strings
Documentation
  • Coverage
  • 0%
    0 out of 13 items documented0 out of 1 items with examples
  • Size
  • Source code size: 15.16 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.41 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • coruscateor/escape_it_lib
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • coruscateor

Escape It Lib

A library for converting Strings with characters that are represented by escaped characters in code such as \n and \t into Strings where these escape character sequences have literally been added in place of where their non-escaped versions were located in the provided input String.

Un-escaping has not yet been implemented.

Todo:

  • Add an object that caches string output.
  • Add code examples
  • implement un-escaping

Coding Style

The coding style of this project emphasises the use of white space over keeping the line and column counts low.

So this:

fn foo()
{

    bar();

}

Not this:

fn foo()
{
    bar();
}

License

Licensed under either of:

at your discretion

Contributing

Please clone the repository and create an issue explaining what feature or features you'd like to add or bug or bugs you'd like to fix and perhaps how you intend to implement these additions or fixes. Try to include details though it doesn't need to be exhaustive and we'll take it from there (dependant on availability).

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.