Latest / Developer tools

codesnake

github.com · Package · Maintained

Rust crate that prints code snippets with labeled, non-overlapping spans

Visit github.com ↗Share

Stars
16
Forks
2
Open issues
2
Last commit
Releases
1
Found
2 years ago

GitHub figures as of . They are context, not a ranking.

codesnake is a Rust crate that shows blocks of code and labels spans within them, with lines connecting each span to its label. It has no dependencies and takes string input with byte positions, so it suits developers building compiler or parser error reporting.

Positioned as an alternative to ariadne.

Repository description on GitHub: “Pretty printer for non-overlapping code spans”

What it does

  • Labels multiple non-overlapping spans in one code block
  • Spans can range over multiple lines
  • Zero dependencies

Good for

  • Show labeled source spans in compiler or parser errors
  • Add colored terminal or HTML output with another crate

Suits: Rust developers writing compiler or parser diagnostics.

Worth knowing: Colored output is not built in and needs an additional crate.

What you can try

Add it to a Rust project with cargo add codesnake from crates.io.

Install

cargo install codesnake

Confirmed against the package registry. Read the project’s own instructions before running anything.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw codesnake on , when it was first published on crates.io. The oldest published release on GitHub is v0.3.0, dated . Its first tagged release came 640 days after it was found.

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: 01mf02/codesnake
  2. Found: it was first published on crates.io. crates.io
  3. Release v0.3.0
  4. Day-7 check recorded by Kip (details)
  5. Day-30 check recorded by Kip (details)

Quick answers

When was codesnake released?
Its first tagged release on GitHub is dated 20 Mar 2026. Kip found it on crates.io on 18 Jun 2024.
Is codesnake open source?
Its source is public on GitHub at 01mf02/codesnake under the MIT licence.
What does codesnake run on?
Library.
Is codesnake free?
It is open source, so the code is free to read and run; check the licence for terms.
Is codesnake still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
crates.iolisting
official API record
GitHub repository01mf02/codesnake
REST API record
GitHub Releasesrelease list
REST API record

Stable ID crates-codesnake. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.