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

#353 in Programming languages

Download history 1144/week @ 2024-10-22 320/week @ 2024-10-29 449/week @ 2024-11-05 147/week @ 2024-11-12 191/week @ 2024-11-19 169/week @ 2024-11-26 731/week @ 2024-12-03 348/week @ 2024-12-10 929/week @ 2024-12-17 89/week @ 2024-12-24 71/week @ 2024-12-31 187/week @ 2025-01-07 296/week @ 2025-01-14 131/week @ 2025-01-21 21/week @ 2025-01-28 1050/week @ 2025-02-04

1,563 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
~221K SLoC