source-span 1.1.0

Source file fragment location and display utilities.
Documentation

Source Span

This crate provides utilities to locate characters and ranges of characters (spans) in a source file. It also provides ways to print fragments of the source file with span informations, hints, errors, warning and notes, just like the rustc compiler.

Formatter example

I'm not really sure yet what is the best way to describe this crate (in terms of keywords, categories, short description and so on). If you have betters ideas, feel free to contact me.

License

Licensed under either of

at your option.

Contribution

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.