Code
What is a .rs file?
A .rs file is a Rust Source File. This is a code, script or executable format.
How to open a .rs file
- VS Code opens and highlights nearly every text-based code format.
- Never run a script you didn't write or trust.
The registry records this extension against Rust Source File, so software from that family is the most likely match.
How to convert a .rs file
- Text-based code needs no conversion — just save with a different extension if a tool insists.
The technical record
For archivists, developers and the merely curious: these are the PRONOM registry entries for .rs.
| Format name | Version | MIME type | PUID |
|---|---|---|---|
| Rust Source File | — | — | fmt/2066 |