Created attachment 115844 [details] [review]
Add text/rust for Rust source code
The attached patch adds a text/rust type (and test file) for Rust source code.
The Rust programming language announced version 1.0 on May 15th and is now considered stable. Announcement: http://blog.rust-lang.org/2015/05/15/Rust-1.0.html
Identification is by glob pattern *.rs. This file extension is explicitly documented in the Rust reference, quote:
"Source files have the extension .rs."
The test file is is a simple Hello World program (source: http://doc.rust-lang.org/stable/book/hello-world.html).
Concrete use case: In KDE's IDE application KDevelop, language support plugins specify the source code documents they support via MIME type lists. Having shared-mime-info provide this type makes this much easier. Further, Rust itself is a major open source project that would benefit from this integration.
Hi, I'm a representative from the Rust community and I'm willing to answer any questions and give aid if needed.
Attachment 115844 [details] pushed as f75cbe0 - Add text/rust for Rust source code