Our great sponsors
-
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.
I'm working on a project which does Rust code generation, and I've found that it seems like the only viable way to format generated code (I'm using quote to generate token streams) is to call out to the system rustfmt.
Syn uses rustfmt as a library. See https://github.com/dtolnay/syn/blob/ffbb00fbd0038cb61e4ea4fc7f1249c2f0ebf4f7/codegen/src/file.rs.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.