Commit Graph

573 Commits

Author SHA1 Message Date
Matan Kushner 29325c6b50
chore(bump): v0.14.0 2019-09-05 00:15:29 -04:00
Andrew Houts 84688e4981 feat: add hostname module (#286)
Add a hostname module as requested by @chipbuster.
Displays the system hostname as provided by gethostname.
2019-09-04 13:03:31 -04:00
dependabot-preview[bot] f2f7815960 chore(deps): Bump ansi_term from 0.12.0 to 0.12.1 (#277)
Bumps [ansi_term](https://github.com/ogham/rust-ansi-term) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/ogham/rust-ansi-term/releases)
- [Commits](https://github.com/ogham/rust-ansi-term/compare/v0.12.0...v0.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-03 11:04:47 -04:00
Titouan Vervack 59e8b1fc92 feat: added truncation_length/symbol to git_branch (#268)
Git branches can become very long (e.g. gitlab auto-generated branch
names), thus it would be nice to be able to truncate them to keep your
prompt lenght in line.

This patch adds two new options to the git_branch module:
* truncation_length: The amount of graphemes to of a gitbranch to
truncate to
* truncation_symbol: The symbol that should be used to indicate that a
branch name was trunctated

To be able to correctly work with UTF-8 graphemes, unicode-segmentation
was added as a dependency.
2019-09-02 15:56:59 -04:00
dependabot-preview[bot] f8929c2d7d chore(deps): Bump rayon from 1.1.0 to 1.2.0 (#269)
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.1.0...v1.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-02 14:00:26 -04:00
dependabot-preview[bot] 5f05d9e7af chore(deps): [Security] Bump spin from 0.5.0 to 0.5.2 (#256)
Bumps [spin](https://github.com/mvdnes/spin-rs) from 0.5.0 to 0.5.2. **This update includes a security fix.**
- [Release notes](https://github.com/mvdnes/spin-rs/releases)
- [Commits](https://github.com/mvdnes/spin-rs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-29 13:53:00 -04:00
Matan Kushner cacaf66efe
chore(bump): v0.13.1 2019-08-27 14:10:48 -04:00
Matan Kushner f61e7e2f87
chore(bump): v0.13.0 2019-08-26 23:10:58 -04:00
dependabot-preview[bot] f7754455e6 chore(deps): Bump lazy_static from 1.3.0 to 1.4.0 (#242)
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases)
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.3.0...1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 12:53:40 -04:00
Matan Kushner 2d10cb2b30
chore(bump): v0.12.2 2019-08-23 10:41:05 -04:00
dependabot-preview[bot] 1943da86ce chore(deps): Bump git2 from 0.9.2 to 0.10.0 (#216)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.9.2 to 0.10.0.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.9.2...git2-curl-0.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-21 13:17:13 -04:00
Matan Kushner a08cc971ab
chore(bump): v0.12.0 2019-08-20 00:45:42 -04:00
Saghm Rossi 7240a81e98 chore(deps): Update `crossbeam-epoch` dependency (#200) 2019-08-19 13:55:41 -04:00
dependabot-preview[bot] 5b3641e50b chore(deps): Bump pretty_env_logger from 0.3.0 to 0.3.1 (#195)
Bumps [pretty_env_logger](https://github.com/seanmonstar/pretty-env-logger) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/seanmonstar/pretty-env-logger/releases)
- [Commits](https://github.com/seanmonstar/pretty-env-logger/compare/v0.3.0...v0.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 11:51:55 -04:00
Matan Kushner b39d31aaa7
chore(bump): v0.11.0 2019-08-19 11:18:00 -04:00
Matan Kushner d065dff695
chore(bump): v0.10.1 2019-08-16 15:04:12 -04:00
Matan Kushner 6c62c427ea
chore(bump): v0.10.0 2019-08-16 13:27:30 -04:00
dependabot-preview[bot] 3f4bd493d4 chore(deps): Bump toml from 0.5.1 to 0.5.3 (#151)
Bumps [toml](https://github.com/alexcrichton/toml-rs) from 0.5.1 to 0.5.3.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases)
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.5.1...0.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-14 11:28:07 -04:00
Matan Kushner 03f99e18da
chore(bump): v0.9.1 2019-08-13 19:25:23 -04:00
Matan Kushner 95401c688f
chore(bump): v0.9.0 2019-08-13 18:44:26 -04:00
Matan Kushner f10bfe4616
chore(bump): v0.8.7 2019-08-13 15:08:52 -04:00
Matan Kushner bab69c01c4
chore(bump): v0.8.6 2019-08-13 14:59:00 -04:00
Matan Kushner 6c120dcd2f
chore(bump): v0.8.5 2019-08-13 12:31:47 -04:00
Matan Kushner 589b6cf712
chore(bump): v0.8.4 2019-08-12 23:42:59 -04:00
Matan Kushner 1d6ce77a81
chore(bump): v0.8.3 2019-08-12 23:18:52 -04:00
Matan Kushner 35733488a1
chore(bump): v0.8.2 2019-08-12 22:15:02 -04:00
Matan Kushner 87849c3110
chore(bump): v0.8.1 2019-08-12 21:58:04 -04:00
Matan Kushner 6563461564
chore(bump): v0.8.0 2019-08-12 21:33:54 -04:00
Matan Kushner 274042832d
chore(bump): v0.7.0 2019-08-12 13:43:48 -04:00
Matan Kushner 5bcbedbabb
chore(bump): v0.6.0 2019-08-10 17:34:20 -04:00
Matan Kushner 98fba0d439
chore(bump): v0.5.0 2019-08-08 13:26:36 -04:00
Matan Kushner b2303d5d8e
chore(bump): v0.4.1 2019-08-05 11:35:53 -04:00
dependabot-preview[bot] 9a2af45835 chore(deps): Bump log from 0.4.7 to 0.4.8 (#123)
Bumps [log](https://github.com/rust-lang/log) from 0.4.7 to 0.4.8.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang-nursery/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/commits)
2019-07-29 11:34:32 -04:00
dependabot-preview[bot] 138287ec63 chore(deps): Bump dirs from 2.0.1 to 2.0.2 (#122)
Bumps [dirs](https://github.com/soc/dirs-rs) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/soc/dirs-rs/releases)
- [Commits](https://github.com/soc/dirs-rs/commits)
2019-07-29 11:11:13 -04:00
Matan Kushner 63ce5f1501
chore(bump): v0.4.0 2019-07-28 22:47:48 -04:00
Andrew Dassonville 75e74e0d74 feat: Use Unix-style slash on Windows (#119)
Prior to this change, starship would use inconsistent slashes when displaying the working directory. With this change, starship uses Unix-style slashes on all platforms. This is consistent with the Git Bash and Cygwin prompts on Windows.
2019-07-28 20:15:40 -04:00
dependabot-preview[bot] e1d179ccf2 chore(deps): Bump git2 from 0.9.1 to 0.9.2 (#114)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.9.1...git2-curl-0.9.2)
2019-07-25 11:32:19 -04:00
Matan Kushner b39aca9776
chore(bump): v0.3.2 2019-07-23 11:56:27 -04:00
Matan Kushner 7d5761a69e
chore: v3.0.1 2019-07-20 13:48:48 -04:00
Matan Kushner c8975dfbb6
v0.3.0 2019-07-19 22:08:43 -04:00
dependabot-preview[bot] d26353f3e3 chore(deps): Bump ansi_term from 0.11.0 to 0.12.0 (#96)
Bumps [ansi_term](https://github.com/ogham/rust-ansi-term) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/ogham/rust-ansi-term/releases)
- [Commits](https://github.com/ogham/rust-ansi-term/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-15 13:33:54 -04:00
dependabot-preview[bot] 79bfc7cf49 chore(deps): Bump log from 0.4.6 to 0.4.7 (#93)
Bumps [log](https://github.com/rust-lang/log) from 0.4.6 to 0.4.7.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang-nursery/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.6...0.4.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-11 23:28:57 -04:00
Matan Kushner fa39026090
chore(release): 0.2.0 2019-07-10 13:48:06 -04:00
Matan Kushner 67537ae753
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
2019-07-10 13:09:45 -04:00
Matan Kushner d7754f38e7
feat: Implement simplified prompt setup process (#90)
• Add starship init which prints the shell function used to execute starship
• Document the new setup process using starship init
• Remove benchmarks for now (WIP replacement benchmarks in "benchmarking" branch )
2019-07-03 08:03:02 -04:00
dependabot-preview[bot] 5ad3e0059a chore(deps): [Security] Bump smallvec from 0.6.9 to 0.6.10 (#91)
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 0.6.9 to 0.6.10. **This update includes security fixes.**
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-07-02 21:39:44 -04:00
Matan Kushner 463ec26024
feat: Add a `disabled` configuration option for modules (#86)
• Add support for the disabled configuration option
This will allow you to selectively disable modules that you don't want or need. 😄
• Overwrite starship configuration file path with STARSHIP_CONFIG environment variable
• Write tests for the two configuration options that are available
2019-07-02 16:12:53 -04:00
dependabot-preview[bot] 2440ed60d0 chore(deps): Bump tempfile from 3.0.8 to 3.1.0 (#89)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.0.8 to 3.1.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases)
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.0.8...v3.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-07-01 18:21:27 -04:00
dependabot-preview[bot] 7b0533f2dd chore(deps): Bump serde_json from 1.0.39 to 1.0.40 (#88)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.39 to 1.0.40.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.39...v1.0.40)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 12:24:11 -04:00
dependabot-preview[bot] 08c7449ff4 chore(deps): Bump rayon from 1.0.3 to 1.1.0 (#78)
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.0.3 to 1.1.0.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/v1.0.3...rayon-core-v1.1.0)
2019-06-13 15:59:39 +01:00
dependabot-preview[bot] facfe97da0 chore(deps): Bump git2 from 0.9.0 to 0.9.1 (#76)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.9.0...0.9.1)
2019-06-12 20:17:56 +01:00
dependabot-preview[bot] bb220bb5a0 chore(deps): Bump battery from 0.7.3 to 0.7.4 (#74)
Bumps [battery](https://github.com/svartalf/rust-battery) from 0.7.3 to 0.7.4.
- [Release notes](https://github.com/svartalf/rust-battery/releases)
- [Changelog](https://github.com/svartalf/rust-battery/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svartalf/rust-battery/compare/0.7.3...0.7.4)
2019-06-05 14:55:04 +01:00
dependabot-preview[bot] e76e95d3d5 chore(deps): Bump git2 from 0.8.0 to 0.9.0 (#75)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.8.0...0.9.0)
2019-06-05 12:47:20 +01:00
dependabot-preview[bot] b59e44c5fa chore(deps): Bump battery from 0.7.2 to 0.7.3 (#72)
Bumps [battery](https://github.com/svartalf/rust-battery) from 0.7.2 to 0.7.3.
- [Release notes](https://github.com/svartalf/rust-battery/releases)
- [Changelog](https://github.com/svartalf/rust-battery/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svartalf/rust-battery/compare/0.7.2...0.7.3)
2019-05-31 16:53:12 +02:00
dependabot-preview[bot] 454b8f9fae chore(deps): Bump dirs from 2.0.0 to 2.0.1 (#73)
Bumps [dirs](https://github.com/soc/dirs-rs) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/soc/dirs-rs/releases)
- [Commits](https://github.com/soc/dirs-rs/commits)
2019-05-31 11:35:19 +02:00
dependabot-preview[bot] 5b1c2107db chore(deps): Bump dirs from 1.0.5 to 2.0.0 (#67)
Bumps [dirs](https://github.com/soc/dirs-rs) from 1.0.5 to 2.0.0.
- [Release notes](https://github.com/soc/dirs-rs/releases)
- [Commits](https://github.com/soc/dirs-rs/commits)
2019-05-27 10:43:36 -04:00
Matan Kushner 5b989fcb9c
feat: Add battery module(#63) 2019-05-22 12:29:39 -04:00
dependabot[bot] 4f06057769 chore(deps): Bump tempfile from 3.0.7 to 3.0.8 (#60)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.0.7 to 3.0.8.
- [Release notes](https://github.com/Stebalien/tempfile/releases)
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.0.7...v3.0.8)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-20 10:18:27 -04:00
dependabot[bot] a213114e9a chore(deps): Bump toml from 0.5.0 to 0.5.1 (#58)
Bumps [toml](https://github.com/alexcrichton/toml-rs) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases)
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.5.0...0.5.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>

Co-authored-by: Dependabot <support@dependabot.com>
2019-05-17 11:02:25 -06:00
Matan Kushner 90d6e6cf0b
Implement the git status module (#45) 2019-05-13 22:43:11 -06:00
Matan Kushner 8b5055d510
Parallelize prompt modules (#46) 2019-05-09 23:51:50 -04:00
John Letey 0b9334f438 Add the package version segment (#35) 2019-05-01 10:45:56 -04:00
dependabot[bot] 6d7485cf50
Bump clap from 2.32.0 to 2.33.0 (#13) 2019-04-18 04:06:31 +00:00
Matan Kushner 2017bcfc7a
Use criterion.rs for section benchmarking (#8)
### Changes
- Replace Rust nightly built-in benchmarking with criterion.rs
- Add benchmarking to Azure Pipelines
2019-04-16 12:20:00 -07:00
Matan Kushner fd42d81273
Replace tempdir with tempfile (#7) 2019-04-16 07:59:57 -07:00
Matan Kushner 794ae7b2ad
Add integration tests (#6)
### Changed
- Added current_dir param to segments to make them more testable
- Moved all existing integration tests to a `tests/` dir

### Added
- A whole bunch of new integration tests
2019-04-15 20:54:52 -04:00
Matan Kushner ab9ba27231
Revert "Parallelize nodejs file checks"
This reverts commit 99bdf27eca.
2019-04-12 13:10:31 -04:00
Matan Kushner 99bdf27eca
Parallelize nodejs file checks 2019-04-12 13:07:41 -04:00
Matan Kushner ff94c9f25f
Use git project root for truncation 2019-04-07 16:43:11 -04:00
Matan Kushner 52a529c627
Add basic benchmarks 2019-04-04 16:59:03 -04:00
Matan Kushner 7683f33bc8
Add dir section with home truncation 2019-04-04 14:18:15 -04:00
Matan Kushner 41ee54933b
Start working on char color for status 2019-04-02 00:45:49 -04:00
Matan Kushner ca3f439012
Initial commit 2019-04-01 23:23:03 -04:00