Skip to content
This repository was archived by the owner on Nov 18, 2022. It is now read-only.
This repository was archived by the owner on Nov 18, 2022. It is now read-only.

Proposal: add rust-script support #960

Open
@crabdancing

Description

@crabdancing

rust-script, for those who aren't aware, is a popular mechanism by which Rust projects can be distributed as a single all-in-one shell script style file.

Its use cases are varied -- probably mostly sysops/devops, providing superior performance (after first run) to other solutions like Python & Bash, while inheriting the superior syntax and feature set of the full Rust language. It has the potential to bring the safety-first performant benefits of Rust to an entire new use case, making maintainable performant scripting a much easier problem to solve.

Unfortunately, the ecosystem is not very rust-script aware, which makes it a pain to use in practice. vscode-rust intellisense doesn't seem to work without an external Cargo manifest. Syntax highlighting doesn't work with the .ers extension. There are probably some other issues, but they aren't coming to mind at the moment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions