dprint
vaultrs
Our great sponsors
dprint | vaultrs | |
---|---|---|
20 | 7 | |
2,933 | 86 | |
3.5% | - | |
8.5 | 7.7 | |
10 days ago | 15 days ago | |
Rust | Rust | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dprint
- Oxlint – written in Rust – 50-100 Times Faster than ESLint
-
How do I stop Prettier from de-structuring object properties onto separate lines?
Prettier is opinionated. dprint is highly configurable.
-
Rome v12.1: a Rust-based linter formatter for TypeScript, JSX and JSON
I mean, I know I am a bad person because of those long names, but that is how life goes sometimes! And the blank line there at the top is just very important to like, catch one's breath, while reading this code.
(I'm really just posting this in the hopes that somebody will throw me a "Bro, just use hpstrlnt, it totally lets you configure that!" -- I have not actually tried Rome to see if it does (it's Monday morning and I'm not quite ready to be disappointed again...))
[1]: dprint is good, and I recommend it as the best code formatter I currently know of: https://dprint.dev/
- Is there an extension for forcing a code style?
- What would you rewrite in Rust?
-
What's the best way to generate code?
If it's something in the vein of one of those things then, worst case, you generate the code first, then run it through something like dprint.
- Ask HN: Alternatives to Prettier?
- dprint – Code Formatter
-
Announcing Rome Formatter
Why not compare Rome formatter to the actual competition, https://dprint.dev/ ?
- dprint – Instant JS/TS Code Formatter
vaultrs
- Show HN: Vaultrs – Rust-based HashiCorp Vault client library
-
Ask HN: Alternatives to Prettier?
I wouldn't really trust a "one to rule them all" tool. As you said, though, I do think there is a practical use to not having a markdown, yaml, and JSON formatter all as separate tools. Maybe even through in HCL as an added bonus.
I've already built something with Rust (https://github.com/jmgilman/vaultrs). I suppose I'll add it to my never-ending list of projects if I can't find something :)
-
consulrs: An asynchronous Rust client library for the Hashicorp Consul API
Thanks! It was out of necessity - both Vault and Consul have really poor crate representation. The plan is to eventually get this and vaultrs to implement the whole API.
-
What's everyone working on this week (39/2021)?
Just recently released a pretty decent overhaul of rustify that increases its ability to scaffold various HTTP APIs. It's nearing a 1.0 release as I don't see the feature-set needing to grow any past this point. It's been powering vaultrs for a while now and has really streamlined the process of scaffolding dozens of endpoints (probably close to a 100 in that crate alone).
-
vaultrs: A Rust crate for interacting with the Hashicorp Vault API
I've written an extensive guide for how the crate is structured and how to easily get started with contributing. This is a great project for beginners to Rust as it's easy to extend but understanding it at a deeper level requires knowledge of core constructs. The guide is also a good read if you're interested in the design philosophy behind the crate and I'm happy to take any feedback to help improve it.
What are some alternatives?
prettier - Prettier is an opinionated code formatter.
tealsql - a sqlx wrapper for teal and lua
nvim-lspconfig - Quickstart configs for Nvim LSP
apriori-rs - Apriori for association rule mining with Python bindings 🦀🐍
dotfiles - 👨🏻💻 My dotfiles including Neovim Lua config, ZSH with zinit plugin manager & powerlevel10k prompt
curl-rust - Rust bindings to libcurl
deno - A modern runtime for JavaScript and TypeScript.
rustify - A Rust library for interacting with HTTP API endpoints
octo-terra - 3d software render engine written in rust, using both real-time raster and ray tracing. Made for self learning purposes.
deno_lint - Blazing fast linter for JavaScript and TypeScript written in Rust
consulrs - An asynchronous Rust client library for the Hashicorp Consul API