Code format

RS Sample Files

Rust (.rs) source files define modules, functions, and type-safe code patterns. Use sample Rust files for parser testing, code indexing, and language-tooling compatibility checks.

6 files All to 5MB SHA256 verified Manifest included
Quick facts
CategoryCode
Total Files6
Extension.rs
MIMEapplication/rls-services+xml
ManifestJSON
Request Related Coverage
Files first

Start with one representative file.

Starter file

rs_sample_file_1MB.rs · 1.0 MB

Download
Filename Size MIME Download
.rs Starter SHA256 0b1da431bb4b...
1.0 MB application/rls-services+xml Download
.rs Realistic SHA256 2382c741ad3e...
200.0 KB application/rls-services+xml Download
.rs SHA256 114f44a84608...
2.0 MB application/rls-services+xml Download
.rs SHA256 10c773e31fb0...
500.0 KB application/rls-services+xml Download
.rs SHA256 1043a8e23747...
50.0 KB application/rls-services+xml Download
.rs SHA256 439ec8e5d884...
5.0 MB application/rls-services+xml Download
Use cases

Pick the next task, not just the next file.

Upload Testing

RS for Upload Testing

Open Format RS

Parser Regression

RS for Parser Regression

Open Format RS

QA Automation

RS for QA Automation

Open Format RS
Compare and decide

Keep the next decision one step away.

FAQ and reference

Keep the operational details quiet.

Checksum Verification

Use checksums to confirm file integrity after download.

shasum -a 256 your_file_name_here
# Compare output with SHA256 values listed above.
Where is the machine-readable manifest?

Use the manifest when you need stable names, SHA256 values, and URLs for automation.

Validation Methodology
  • Validate syntax-highlight pipelines and file-type detection.
  • Test parser robustness for larger source samples.
  • Confirm linting/formatting tools handle encoding correctly.