GDQuest / GDQuest/GDScript-formatter
Add support for installing the formatter directly through cargo
- Vorherrschende Sprache
- Rust
- Sterne
- 455
- Forks
- 39
- Ø Merge
- 1 T. 15 Std.
- Gemergte PRs (30 T.)
- 4
Beschreibung
The rust package manager has a feature where you can [publish binaries to crates.io and install them through cargo](https://doc.rust-lang.org/cargo/reference/publishing.html). Like you could run `cargo install starship --locked` and it would install the Starship shell prompt and add it to the path. It seems a lot more convenient than downloading the binary and manually adding it to the path. You can also clone the source code and install it through cargo that way, but having a command that you can copy-paste if you already have Rust installed would be pretty nice.
The pre-built binaries should still be there as an option, but the current installation process seems a little convoluted is all.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginne mit der Überprüfung der Cargo-Paketmetadaten des Repositorys sowie der aktuellen Installations- und Release-Einstiegspunkte. Bestätige, was erforderlich ist, damit `cargo install` den Formatter installiert und dabei die Option für die vorgefertigte Binärdatei erhalten bleibt, und überprüfe anschließend, dass der dokumentierte Befehl mit einem lokalen oder veröffentlichten Paket funktioniert.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- rust
- Bereich
- cli, tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100