PackageTrack
Sign in Get early access

codespan

Data structures for tracking locations in source code

0.13.1 11M downloads/mo #2946 most downloaded on crates.io brendanzab/codespan

What this package is like to depend on

Last release 10 months ago

22 Oct 2025

Ships unpredictably

gaps range from 2 weeks to 4.1 years

Some releases are documented

notes for 9 of 24 stable releases

Nothing withdrawn

no release was ever pulled

8 years old

24 releases · first in 2018

2 releases in the last 12 months

see the full history below

Release timeline

24 releases · Apr 2018 to Oct 2025
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 24
  1. 0.13.1 22 Oct 2025
    Release notes

    Release: codespan to 0.13.1, codespan-reporting to 0.13.1 and codespa…

    Open source →
    Release notes

    Version 0.13.1 fixes a few issues present in version 0.13.0.

    • Allow writing to &mut dyn WriteStyle #402
    • Fix an issue with str::from_utf8 not being available on rust 1.67 #405
    • Fix release action #408
    • Fix regression in the API with_note #409

    Thanks to contributors and those who raised issues. Keep them coming!

    Open source →
  2. 0.13.0 15 Oct 2025
    Release notes

    Release: codespan 0.13.0

    Open source →
    Release notes

    Release 0.13.0 adds a new rendering decoration system for reporting. It also includes a bug fix.

    New features

    In #387 @urisinger changed diagnostic emitting to be based on a new writer trait WriteStyle. This addition allows more flexibility in the output of emitting diagnostics. For example the default terminal ANSI style can be swapped out for SVG tag generation (see example). The change includes std::term::config::styles::StylesWriter and std::term::config::styles::Styles for customisation of colours and other decoration during emit.

    This feature is backwards compatible with original termcolor writers.

    Bug fixes and user changes

    The 0.12.0 version of codespan included ![no_std] support thanks to PR #374. Unfortunately, there were a few issues with it that were not caught by CI and went under the radar such as tests not passing under --no-default-features #399.

    Another issue included complications with std::io::Write vs core::fmt::Write. This meant that String would work under --no-default-features but break with --feature std.

    PR #400 adds checks for tests across feature configurations and adds different emit functions for different types of writers used. This includes a emit_to_string function that should work across feature configuration.

    There still needs to be improvements in this area but I have not landed on anything simple.

    WIP: It also adds a check to dependants of the library to check whether changes are compatible.

    If you find any issues or have a feature suggestion, leave them in the issues.

    Full Changelog: release/codespan-0.12.0...release/codespan-0.13.0

    Open source →
  3. 0.12.0 22 Mar 2025
    Release notes

    Update codespan-reporting to 0.12.0

    Open source →
    Release notes

    This release is version 0.12.0 of the codespan crate. A library the provides "Beautiful diagnostic reporting for text-based programming languages".

    This release contains a few bug fixes and small changes, there are no new features of breaking changes.

    New maintainer

    I (@kaleidawave) have been graciously added as a maintainer to this repository and have been gifted permission to publish updates to codespan-reporting (and other crates in the repository) on crates.io by the original maintainer.

    I hope that I can keep this project up to date and make sure that additions (such as seen below) can in the future be released under a shorter time frame.

    If you have any feature requests or changes for this project/crate, then don't hesitate to ping me.

    What's Changed

    Auto-generated by GitHub

    Full Changelog: v0.11.1...release/codespan-0.12.0

    Open source →
  4. 0.11.1 25 Feb 2021
    Release notes

    Update codespan to 0.11.1

    Open source →
  5. 0.11.0 29 Nov 2020
    Release notes

    There is now a code of conduct and a contributing guide.

    Some versions were skipped to sync up with the codespan-lsp crate. The release process has been changed so this should not happen again.

    Changed

    • This crate now depends on codespan-reporting non-optionally because of the new error type.

    Fixed

    • Building the crate on operating systems other than unix/windows with the serialization feature enabled.
    Open source →
  6. 0.9.5 24 Jun 2020
    Release notes

    Fixed

    • Building the crate with the reporting feature disabled.
    Open source →
  7. 0.9.4 18 May 2020

    Nothing published for this version

  8. 0.9.3 29 Apr 2020

    Nothing published for this version

  9. 0.9.2 29 Mar 2020

    Nothing published for this version

  10. 0.9.1 22 Mar 2020
    Release notes

    Added

    • From<Span> is now implemented for Range<usize> and Range<RawIndex>.
    • More From<_> conversions are now implemented for index and offset types.
    Open source →
  11. 0.9.0 15 Mar 2020
    Release notes

    Added

    • codespan now depends on codespan_reporting. This can be disabled via the reporting feature.
    • codespan::Files now implements codespan_reporting::files::Files
    Open source →
  12. 0.8.0 24 Feb 2020

    Nothing published for this version

  13. 0.7.0 06 Jan 2020

    Nothing published for this version

  14. 0.6.0 18 Dec 2019

    Nothing published for this version

  15. 0.5.0 02 Oct 2019

    Nothing published for this version

  16. 0.4.1 25 Aug 2019

    Nothing published for this version

  17. 0.4.0 22 Aug 2019

    Nothing published for this version

  18. 0.3.0 30 Apr 2019

    Nothing published for this version

  19. 0.2.1 26 Feb 2019

    Nothing published for this version

  20. 0.2.0 11 Oct 2018
    Release notes
    Open source →
  21. 0.1.3 20 Aug 2018

    Nothing published for this version

  22. 0.1.2 07 May 2018

    Nothing published for this version

  23. 0.1.1 16 Apr 2018

    Nothing published for this version

  24. 0.1.0 16 Apr 2018

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive