22 releases

new 0.12.0 Mar 22, 2025
0.11.1 Feb 25, 2021
0.11.0 Nov 29, 2020
0.9.5 Jun 24, 2020
0.1.2 May 7, 2018

#13 in Programming languages

Download history 33356/week @ 2024-12-03 33035/week @ 2024-12-10 27204/week @ 2024-12-17 15077/week @ 2024-12-24 20775/week @ 2024-12-31 31938/week @ 2025-01-07 34559/week @ 2025-01-14 33025/week @ 2025-01-21 33474/week @ 2025-01-28 39714/week @ 2025-02-04 37338/week @ 2025-02-11 41694/week @ 2025-02-18 40227/week @ 2025-02-25 42791/week @ 2025-03-04 44147/week @ 2025-03-11 35707/week @ 2025-03-18

170,499 downloads per month
Used in 256 crates (60 directly)

Apache-2.0

145KB
2.5K SLoC

codespan

Continuous integration Crates.io Docs.rs Matrix

Utilities for dealing with source code locations.


lib.rs:

Utilities for working with source code and printing nicely formatted diagnostic information like warnings and errors.

Optional Features

Extra functionality is accessible by enabling feature flags. The features currently available are:

  • serialization - Adds Serialize and Deserialize implementations for use with serde

Dependencies

~1.4–8MB
~56K SLoC