Run Rust source code like a script (Linux)

This page summarizes the projects mentioned and recommended in the original post on /r/rust

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
  1. evcxr

    Interesting idea, I saw people trying it with Go. I curious if it would work with https://github.com/google/evcxr

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. rust-script

    Run Rust files and expressions as scripts without any setup or compilation step.

  4. cargo-play

    A local Rust playground

  5. cargo-script

    Cargo script subcommand

  6. cargo-script

    Cargo script subcommand (by artemshein)

  7. rustx

    https://github.com/liuchong/rustx (abandoned?)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Why is Rust always advertised as system programming not general purpose programming?

    3 projects | /r/rust | 3 Dec 2022
  • Rust for simple tasks

    6 projects | /r/rust | 7 Apr 2021
  • Correct way to do "micro projects"?

    2 projects | /r/rust | 5 Apr 2021
  • Reducing Cargo target directory size with -Zno-embed-metadata

    1 project | news.ycombinator.com | 2 Jun 2025
  • Rust-Script

    1 project | news.ycombinator.com | 26 Feb 2025