codespan

Data structures for tracking locations in source code

7 releases

✓ Uses Rust 2018 edition

0.3.0 Apr 30, 2019
0.2.1 Feb 26, 2019
0.2.0 Oct 11, 2018
0.1.3 Aug 20, 2018
0.1.1 Apr 16, 2018
Download history 111/week @ 2019-01-15 291/week @ 2019-01-22 372/week @ 2019-01-29 148/week @ 2019-02-05 264/week @ 2019-02-12 138/week @ 2019-02-19 223/week @ 2019-02-26 135/week @ 2019-03-05 289/week @ 2019-03-12 374/week @ 2019-03-19 357/week @ 2019-03-26 306/week @ 2019-04-02 246/week @ 2019-04-09 284/week @ 2019-04-16 208/week @ 2019-04-23

1,048 downloads per month
Used in 16 crates (12 directly)

Apache-2.0

51KB
1K SLoC


lib.rs:

Utilities for working with source code and printing nicely formatted diagnostic information like warnings and errors.

Optional Features

Extra functionality is accessible by enabling feature flags. The features currently available are:

  • serialization - Adds Serialize and Deserialize implementations for use with serde
  • memory_usage - Adds HeapSizeOf implementations for use with the heapsize crate

Dependencies

~1MB
~12K SLoC