#solidity #ethereum #solc #solidity-compiler

solar-interface

Source positions, diagnostics, and related helper functions

10 releases

Uses new Rust 2024

0.1.8 Oct 1, 2025
0.1.6 Aug 25, 2025
0.1.5 Jul 14, 2025
0.1.1 Jan 5, 2025
0.1.0 Nov 8, 2024

#7 in #solidity-compiler

Download history 6938/week @ 2025-11-06 4773/week @ 2025-11-13 5177/week @ 2025-11-20 5298/week @ 2025-11-27 5344/week @ 2025-12-04 5468/week @ 2025-12-11 4271/week @ 2025-12-18 3340/week @ 2025-12-25 3411/week @ 2026-01-01 3587/week @ 2026-01-08 2742/week @ 2026-01-15 5098/week @ 2026-01-22 5057/week @ 2026-01-29 4029/week @ 2026-02-05 6019/week @ 2026-02-12 6996/week @ 2026-02-19

22,662 downloads per month
Used in 14 crates (5 directly)

MIT/Apache

380KB
8K SLoC

solar-interface

Source positions, diagnostics, and related helper functions.

Important concepts in this module include:

  • the span, represented by Span and related types;
  • source code as represented by a SourceMap; and
  • interned strings, represented by Symbols, with some common symbols available statically in the [sym] module.

Dependencies

~11–17MB
~219K SLoC