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

#328 in Programming languages

Download history 1317/week @ 2024-07-31 361/week @ 2024-08-07 740/week @ 2024-08-14 949/week @ 2024-08-21 559/week @ 2024-08-28 896/week @ 2024-09-04 1615/week @ 2024-09-11 670/week @ 2024-09-18 89/week @ 2024-09-25 75/week @ 2024-10-02 1108/week @ 2024-10-09 681/week @ 2024-10-16 976/week @ 2024-10-23 504/week @ 2024-10-30 250/week @ 2024-11-06 143/week @ 2024-11-13

2,074 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
~215K SLoC