DanielKeep/cargo-script
View on GitHub ↗ ★ 776 Rust
Cargo script subcommand
5 mentions on Hacker News by 4 people: 0 stories, 5 comments · first 2016-11-15 · latest 2020-01-05
20082026
-
…that with cargo-script if you’re curious, though it’s not under active development it looks like. https://github.com/DanielKeep/cargo-script/blob/master/READM...
comment by arcticbull · 2020-01-05 · in Papyrus, a Rust REPL -
…Check out this Rust "scripting" system [1]. It has full support for third-party crates. [1] https://github.com/DanielKeep/cargo-script [2] https://en.wikipedia.org/wiki/Planishing
comment by arcticbull · 2019-05-22 · in PEP 594 – Removing dead batteries from Python's standard library -
…introspection which is diminished by the use of static typing. [0] https://play.rust-lang.org/ [1] https://github.com/DanielKeep/cargo-script
comment by epage · 2019-03-27 · in Miri: Interpreter for Rust's mid-level intermediate representation -
It was weird for me at first, but actually Rust provides a great solution here. With https://github.com/DanielKeep/cargo-script you can have single file Rust "scripts" with ecosystem dependencies. When executing the file (via the…
comment by the_duke · 2018-07-19 · in Lily: An interpreted language with a focus on expressiveness and type safety -
There's also this handy cargo plugin that helps for using Rust for "scripting": https://github.com/DanielKeep/cargo-script It's especially handy for a one-file solution.
comment by daholland · 2016-11-15 · in Using Rust for 'Scripting'