cargo-graph
By kbknapp
cargo-script
Cargo script subcommand (by DanielKeep)
| cargo-graph | cargo-script | |
|---|---|---|
| 2 | 11 | |
| 201 | 768 | |
| - | 0.9% | |
| 0.0 | 0.0 | |
| - | over 5 years ago | |
| Rust | Rust | |
| MIT License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cargo-graph
Posts with mentions or reviews of cargo-graph.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-10.
-
Doxygen for rust code
If you just want a depgraph, this is a decent solution: https://github.com/kbknapp/cargo-graph
- Visualizing internal dependencies as a graph?
cargo-script
Posts with mentions or reviews of cargo-script.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-05-28.
-
Dotnet Run App.cs
The builtin subcommand is unstable, but a long time ago a dev I knew at the time maintained an external subcommand for it. https://crates.io/crates/cargo-script
Although it's old and its dependencies are old, it doesn't have a dependency on cargo (it spawns cargo as a subprocess instead of via cargo API directly), so it might still work fine with latest toolchain. I haven't tried myself.
-
Selling cheap rust cheats and scrips
Accept BTC, all credit card * $1 .unwrap() - wallhack through Err * $2 .ok() - invisibility cheat for unused Result warning * $5 .unwrap_unchecked() - advanced wallhack, never fall out of map from panic For script console, just $10.
- Why is Rust always advertised as system programming not general purpose programming?
-
Quick Tip: You don't need to create a new cargo project if you want to test if something works in rust
You can also use cargo script. After installing it you can just do
-
Announcement: xshell 0.2.0
I think there are some projects in this area, eg, https://github.com/DanielKeep/cargo-script. For my personal scripts, I have a single Cargo.toml for a busy-box style multiplexed binary: https://github.com/matklad/config/blob/f0259ca8a3755f2e62a3bf472c2514fd6cb891ff/tool/src/main.rs#L16.
-
How do you share your code ?
O seems that this does already exist: https://github.com/DanielKeep/cargo-script
-
Shell Scripting in Rust
You don't have to set up a project if you use cargo-script
-
Is there any way to compile and run Rust from an input stream?
Take a look at cargo script. That should/could do what you want
- Run Rust source code like a script (Linux)
-
Rust for simple tasks
when I first started using rust, I knew python a lot better so I would write scripts with python. at this point though, I write a lot more rust than python these days, so I'll write pretty much everything with rust. cargo-script is a useful tool for this, as well as the self-compiling script: https://neosmart.net/blog/2020/self-compiling-rust-code/
What are some alternatives?
When comparing cargo-graph and cargo-script you can also consider the following projects:
cargo-dot - Generate graphs of a Cargo project's dependencies
cargo-do - allows you to run multiple cargo commands in a row
cargo-check
cargo-watch - Watches over your Cargo project's source.
cargo-outdated - A cargo subcommand for displaying when Rust dependencies are out of date