Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • About Bonfire
Ed Page
Ed Page
@epage@hachyderm.io  ·  activity timestamp last week

Over 4 years ago, I proposed the idea of native Cargo Script support in a blog post. Today, I posted the stabilization PR against Cargo: https://github.com/rust-lang/cargo/pull/16569

This allows Cargo to be a shebang "interpreter", reading manifest content from a new syntax in Rust code called a "frontmatter". This is helpful for
- Better, self-contained reproduction cases for bug reports
- More easily communicate using code snippets that use dependencies in blog posts, chat, books, etc
- Lower barrier for experimenting with an idea. While it isn't a REPL, it can cover a lot of the gap of not having one.

#rustlang

  • Copy link
  • Flag this post
  • Block

BT Free Social

BT Free is a non-profit organization founded by @ozoned@btfree.social . It's goal is for digital privacy rights, advocacy and consulting. This goal will be attained by hosting open platforms to allow others to seamlessly join the Fediverse on moderated instances or by helping others join the Fediverse.

BT Free Social: About · Code of conduct · Privacy ·
Bonfire social · 1.0.1 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Code of Conduct