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

#132 in Configuration

Download history 672/week @ 2024-01-29 421/week @ 2024-02-05 486/week @ 2024-02-12 1062/week @ 2024-02-19 517/week @ 2024-02-26 644/week @ 2024-03-04 555/week @ 2024-03-11 311/week @ 2024-03-18 472/week @ 2024-03-25 476/week @ 2024-04-01 1732/week @ 2024-04-08 1565/week @ 2024-04-15 1535/week @ 2024-04-22 629/week @ 2024-04-29 1680/week @ 2024-05-06 1579/week @ 2024-05-13

5,452 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

~5–15MB
~190K SLoC