Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Pygments syntax highlighting for rust.
Python
branch: master

This branch is 2 commits behind startling:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
pygments_rust
.gitignore
README.markdown
setup.py

README.markdown

This is Pygments syntax highlighting for Rust.

Rust's syntax isn't set in stone, so this will probably break sometime. Also I'm not sure that I got everything -- if you find anything that I missed, leave a note in the issues or fork and pull request.

Installation

pip install git+git://github.com/startling/pygments-rust.git

This uses Pygment's entry_points, so you don't have to do anything special.

Credits

I liberally stole from both Rust's vim syntax highlighting and the language reference.

Something went wrong with that request. Please try again.