4 releases

new 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

#582 in Command line utilities

Download history 462/week @ 2024-01-03 435/week @ 2024-01-10 350/week @ 2024-01-17 451/week @ 2024-01-24 696/week @ 2024-01-31 253/week @ 2024-02-07 787/week @ 2024-02-14 936/week @ 2024-02-21 557/week @ 2024-02-28 688/week @ 2024-03-06 320/week @ 2024-03-13 390/week @ 2024-03-20 525/week @ 2024-03-27 876/week @ 2024-04-03 1893/week @ 2024-04-10 1105/week @ 2024-04-17

4,454 downloads per month
Used in 3 crates

Apache-2.0 OR MIT

110KB
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

~6–16MB
~193K SLoC