rust-script
Run Rust files and expressions as scripts without any setup or compilation step. (by fornwall)
rust-analyzer
A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer] (by rust-analyzer)
rust-script | rust-analyzer | |
---|---|---|
27 | 207 | |
1,302 | 9,320 | |
2.3% | - | |
6.0 | 10.0 | |
17 days ago | almost 3 years ago | |
Rust | Rust | |
Apache License 2.0 | 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.
rust-script
Posts with mentions or reviews of rust-script.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-05-26.
- Rust-script: Run Rust files and expressions as scripts
- What are your favourite websites that display a lot of data / tables?
-
Rust 101
There is also rust-script[1] which runs "Rust files and expressions as scripts without any setup or compilation step." I wrote a data loader[2] in it for my Observable Framework project and have been very happy with its performance and overall ease including hot-reloading.
[1] https://rust-script.org
[2] https://observablehq.com/framework/loaders#routing
-
How to convince my boss that Rust is usable
To address your concerns about non-trivial building process making Rust less suitable for small scripts : https://rust-script.org/ Work is actively being done. (not by me)
-
I made a scriptable spaced repetition CLI with Rust and Rhai!
I started this as a little script made with rust-script, which took only a few hours to mock up, and then I was able to refactor the core logic into a much larger scriptable system over only about a day. And, Rust being Rust, it worked first time once I got it compiling! Also, I have to say, having a full-blown custom scripting engine just work is a novelty coming from web programming, and Rhai is a great choice if you need this sort of functionality in your own projects!
-
Organizing a large collection of Rust "scripts"?
Use rust-script ! Instead of having a folder for each script, your script could be a single file, just like you would in python. Then you can put all the files in a single directory with a readme describing the functionality and use-case of each script.
-
Pre-RFC: `cargo-script` for everyone
In case you didn't notice in the Prior Art section, rust-script is the most actively maintained descendant of cargo-script (from which the cargo-eval crate is forked as well).
-
Rust tech stack
Someone even wrote https://rust-script.org/ to make that "shell scripting using Rust" use-case more convenient.
-
would you use rust for scripting?
Is rust-script close enough?
-
Why is Rust always advertised as system programming not general purpose programming?
That may have been more of the originator of the idea, but what I believe I had used was rust-script, looking into it more. That one isn't maintained.
rust-analyzer
Posts with mentions or reviews of rust-analyzer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-17.
-
rust-analyzer changelog #177
#14561 map tokens from include! expansion to the included file
- Make LSP-Rust-analyzer works
-
rust-analyzer changelog #164
I would like changes like https://github.com/rust-analyzer/rust-analyzer/pull/13799 to be listed in 'Breaking Changes' category, to приманка draw the users' attention.
-
Mun v0.4.0 released
For those of you who haven’t heard of Mun before, Mun is an embeddable programming language empowering creation through iteration. The idea to create Mun originated out of frustration with the Lua dynamic scripting language and a desire to have similar hot reloading functionality available in Rust. As such, it’s not a direct competitor with Rust, but instead is intended to be used with Rust (or C/C++) as a host/embedded language pairing. Actually, Mun is completely written in Rust, building on similar crates as rust-analyzer and rustc. Its key features include:
-
rust-analyzer changelog #159
#13728 upgrade chalk to make solver fuel work again (works around most trait solving hangs).
-
rust-analyzer changelog #147
#13221 (first contribution) add option to move lenses above doc comments (rust-analyzer.lens.location):
-
Does Rust need proc-macros 2.0?
Rust-analyzer has a good overview: https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/dev/syntax.md
-
rust-analyzer changelog #134
#12517 (first contribution) fix completion for methods in trait generated by macro.
-
LSP Rust Analyzer keeps telling me `Error NO_RESULT_CALLBACK_FOUND`
-- all the opts to send to nvim-lspconfig -- these override the defaults set by rust-tools.nvim -- see https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#rust_analyzer server = { -- on_attach is a callback called when the language server attachs to the buffer -- on_attach = on_attach, settings = { -- to enable rust-analyzer settings visit: -- https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/user/generated_config.adoc ["rust-analyzer"] = { -- enable clippy on save checkOnSave = { command = "clippy" }, assist = { importGranularity = "module", importPrefix = "self", }, cargo = { loadOutDirsFromCheck = true }, procMacro = { enable = true }, } } },
-
rust-analyzer changelog #130
#12349 publish universal VSIX to make Code happy.
What are some alternatives?
When comparing rust-script and rust-analyzer you can also consider the following projects:
cargo-script - Cargo script subcommand
vscode-rust - Rust extension for Visual Studio Code
evcxr
Clippy - A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
dotfiles - My configuration files and personal collection of scripts.
intellij-rust - Rust plugin for the IntelliJ Platform
rust-cli-boilerplate - Rust project boilerplate for CLI applications
rustfmt - Format Rust code
cargo-script - Cargo script subcommand
rust - Empowering everyone to build reliable and efficient software.
rust-analyzer - A Rust compiler front-end for IDEs
eglot - A client for Language Server Protocol servers
rust-script vs cargo-script
rust-analyzer vs vscode-rust
rust-script vs evcxr
rust-analyzer vs Clippy
rust-script vs dotfiles
rust-analyzer vs intellij-rust
rust-script vs rust-cli-boilerplate
rust-analyzer vs rustfmt
rust-script vs cargo-script
rust-analyzer vs rust
rust-script vs rust-analyzer
rust-analyzer vs eglot