https://github.com/starship/starship-poc
Proof of concept for Starship rewrite
https://github.com/starship/starship-poc
Last synced: 8 months ago
JSON representation
Proof of concept for Starship rewrite
- Host: GitHub
- URL: https://github.com/starship/starship-poc
- Owner: starship
- Created: 2020-03-16T02:41:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-20T19:46:35.000Z (over 4 years ago)
- Last Synced: 2024-04-13T17:54:30.072Z (over 1 year ago)
- Language: Rust
- Homepage: https://matchai.github.io/starship-poc/dev/bench/
- Size: 203 KB
- Stars: 7
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Starship Rewrite (proof of concept)
A rewrite of Starship in more maintainable, idiomatic Rust.
---
This repo is meant to serve as a proof of concept for a new architecture for Starship. Nothing here is set in stone. It will serve as a way to share what I envision a future rewrite of Starship will look like.
> 👉 Comments and feedback are appreciated in Issues.
## Goals
These are the main goals in mind while I work on this rewrite:
- [ ] Detect which modules should be enabled by only scanning the project root
- [x] Emit errors for consuming applications and clearer error messaging
- [x] Abstract the VCS system to allow for first-class support of various VCSs
- [x] Use traits for more consistent and testable APIs
- [x] Don't render the module output to allow for per-shell formatting