From 67537ae753ce4db59b4c0378508493bc63f694a8 Mon Sep 17 00:00:00 2001 From: Matan Kushner Date: Wed, 10 Jul 2019 13:09:45 -0400 Subject: [PATCH] chore: Publish crate to Crates.io (#92) * Add all the necessary Cargo.toml details for crates.io * Update the image on README.md to be a full URL so crates.io can load it * Update installation instructions to encourage installing from crates.io --- Cargo.lock | 2 +- Cargo.toml | 18 ++++++++++++++++-- README.md | 13 ++++++++----- 3 files changed, 25 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9cf6f5b1..ea905cc1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -702,7 +702,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "starship" -version = "0.1.0" +version = "0.1.0-beta.4" dependencies = [ "ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "battery 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 230048f9..8b79a77f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,22 @@ [package] name = "starship" -version = "0.1.0" -authors = ["Matan Kushner "] +version = "0.1.0-beta.4" edition = "2018" +authors = ["Matan Kushner "] +repository = "https://github.com/starship/starship" +readme = "README.md" +license = "ISC" +keywords = ["prompt", "shell", "bash", "fish", "zsh"] +categories = ["command-line-utilities"] +description = """ +The cross-shell prompt for astronauts. ☄🌌️ +""" + +[badges] +azure-devops = { project = "starship-control/starship", pipeline = "Starship Test Suite" } +is-it-maintained-issue-resolution = { repository = "starship/starship" } +is-it-maintained-open-issues = { repository = "starship/starship" } +maintenance = { status = "actively-developed" } [dependencies] clap = "2.33.0" diff --git a/README.md b/README.md index c86a9600..b2b46a2c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@


- Starship – Cross-shell prompt + Starship – Cross-shell prompt

+ Crates.io version Azure Pipelines Build Status All Contributors Chat on Discord @@ -9,7 +10,7 @@

-> ⚠️ This is very much work in progress, so please don't try to use it just yet! +> ⚠️ Starship is still a work in progress but is now far enough along to be used as a prompt (I personally use it as my daily driver) Starship is a Rust port of the minimalistic, powerful, and extremely customizable prompt [Spaceship ZSH](https://github.com/denysdovhan/spaceship-prompt). @@ -80,12 +81,10 @@ I'm very new to Rust, so any help is appreciated when it comes to improving deve ### Getting Started -1. `cd` to the root of the **starship** repo - 1. Install the **starship** binary: ```bash - cargo install --path . + cargo install starship ``` 1. Add the init script to your shell's config file: @@ -110,6 +109,10 @@ I'm very new to Rust, so any help is appreciated when it comes to improving deve eval (starship init fish) ``` +## Configuration + +> 🚧 Configuration features and documentation are in the process of being developed + ## Contributors Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):