4 releases

0.1.3 Apr 24, 2024
0.1.2 Apr 17, 2024
0.1.1 Apr 9, 2024
0.1.0 Sep 15, 2022
0.0.1 Sep 19, 2022

#122 in Configuration

Download history 320/week @ 2024-03-13 390/week @ 2024-03-20 525/week @ 2024-03-27 876/week @ 2024-04-03 1893/week @ 2024-04-10 1369/week @ 2024-04-17 1268/week @ 2024-04-24 1436/week @ 2024-05-01 1062/week @ 2024-05-08 1733/week @ 2024-05-15 1757/week @ 2024-05-22 1353/week @ 2024-05-29 268/week @ 2024-06-05 588/week @ 2024-06-12 713/week @ 2024-06-19 944/week @ 2024-06-26

2,749 downloads per month
Used in 3 crates

Apache-2.0 OR MIT

115KB
2K SLoC

compiler_base_span

note: [WIP] Do not use it.


lib.rs:

Source positions and related helper functions.

Important concepts in this module include:

  • the span, represented by Span and related types;
  • interned strings, represented by Symbols, with some common symbols available statically in the [sym] module.

Reference: https://github.com/rust-lang/rust/blob/master/compiler/rustc_span/src/lib.rs

Dependencies

~6–15MB
~191K SLoC