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

#341 in Programming languages

Download history 235/week @ 2024-09-21 29/week @ 2024-09-28 315/week @ 2024-10-05 1061/week @ 2024-10-12 1247/week @ 2024-10-19 402/week @ 2024-10-26 539/week @ 2024-11-02 137/week @ 2024-11-09 177/week @ 2024-11-16 99/week @ 2024-11-23 722/week @ 2024-11-30 373/week @ 2024-12-07 1007/week @ 2024-12-14 57/week @ 2024-12-21 84/week @ 2024-12-28 96/week @ 2025-01-04

1,269 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
~223K SLoC