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

#332 in Programming languages

Download history 878/week @ 2024-07-19 712/week @ 2024-07-26 1183/week @ 2024-08-02 759/week @ 2024-08-09 656/week @ 2024-08-16 832/week @ 2024-08-23 605/week @ 2024-08-30 1059/week @ 2024-09-06 1643/week @ 2024-09-13 235/week @ 2024-09-20 40/week @ 2024-09-27 225/week @ 2024-10-04 1074/week @ 2024-10-11 1256/week @ 2024-10-18 433/week @ 2024-10-25 548/week @ 2024-11-01

3,433 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

~7–16MB
~213K SLoC