Rust Rustfmt

Open-source Rust projects categorized as Rustfmt

Rust Rustfmt Projects

  • rustfmt

    Format Rust code

    Project mention: You can't do that because I hate you | news.ycombinator.com | 2023-12-28

    The author provides very surface-level criticism of two Rust tools, but they don't look into why those choices were made.

    With about five minutes of my time, I found out:

    wrap_comments was introduced in 2019 [0]. There are bugs in the implementation (it breaks Markdown tables), so the option hasn't been marked as stable. Progress on the issue has been spotty.

    --no-merge-sources is not trivial to re-implement [1]. The author has already explained why the flag no longer works -- Cargo integrated the command, but not all of the flags. This commit [2] explains why this functionality was removed in the first place.

    Rust is open source, so the author of this blog post could improve the state of the software they care about by championing these issues. The --no-merge-sources error message even encourages you to open an issue, presumably so that the authors of Cargo can gauge the importance of certain flags/features.

    You could even do something much simpler, like adding a comment to the related issues mentioning that you ran into these rough edges and that it made your life a little worse, or with a workaround that you found.

    Alternatively, you can continue to write about how much free software sucks.

    [0]: https://github.com/rust-lang/rustfmt/issues/3347

    [1]: https://github.com/rust-lang/cargo/pull/10344

    [2]: https://github.com/rust-lang/cargo/commit/3842d8e6f20067f716...

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • rust-template

    A project template suitable for new Rust 2021 Edition projects with cargo-make/rustfmt/rust-clippy.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust Rustfmt discussion

Log in or Post with

Rust Rustfmt related posts

  • Let else will finally be formatted by rustfmt soon

    5 projects | /r/rust | 3 Jul 2023
  • Rustfmt refusing to work with certain functions.

    1 project | /r/rust | 26 Apr 2023
  • Rust Tips and Tricks #PartOne

    3 projects | dev.to | 8 Apr 2023
  • What are some good practices when writing rust?

    2 projects | /r/rust | 28 Feb 2023
  • HTML Limpo

    1 project | /r/brdev | 21 Feb 2023
  • How do I stop RustFmt from turning this…

    2 projects | /r/rust | 17 Dec 2022
  • Adding formatter and linter to rost_gen

    3 projects | dev.to | 4 Nov 2022
  • A note from our sponsor - SaaSHub
    www.saashub.com | 24 Jul 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

Project Stars
1 rustfmt 5,884
2 rust-template 8

Sponsored
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com