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

#288 in Programming languages

Download history 161/week @ 2024-11-20 183/week @ 2024-11-27 795/week @ 2024-12-04 337/week @ 2024-12-11 882/week @ 2024-12-18 73/week @ 2024-12-25 82/week @ 2025-01-01 300/week @ 2025-01-08 181/week @ 2025-01-15 114/week @ 2025-01-22 27/week @ 2025-01-29 1053/week @ 2025-02-05 146/week @ 2025-02-12 33/week @ 2025-02-19 219/week @ 2025-02-26 132/week @ 2025-03-05

540 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–17MB
~241K SLoC