#git #prompt #prompting #askpass #gix-thiscrate #platform #style

deprecated git-prompt

Please use gix-<thiscrate> instead (‘git’ -> ‘gix’)

8 unstable releases (3 breaking)

0.3.3 Feb 17, 2023
0.3.2 Feb 9, 2023
0.3.1 Jan 10, 2023
0.3.0 Dec 19, 2022
0.0.0 Aug 29, 2022

#5 in #askpass

Download history 79/week @ 2024-08-31 47/week @ 2024-09-07 25/week @ 2024-09-14 69/week @ 2024-09-21 52/week @ 2024-09-28 84/week @ 2024-10-05 96/week @ 2024-10-12 52/week @ 2024-10-19 92/week @ 2024-10-26 87/week @ 2024-11-02 57/week @ 2024-11-09 46/week @ 2024-11-16 62/week @ 2024-11-23 43/week @ 2024-11-30 91/week @ 2024-12-07 55/week @ 2024-12-14

257 downloads per month
Used in 6 crates (2 directly)

MIT/Apache

53KB
988 lines

Acknowledgements

Portions of this crate are loosely based on rpassword.


lib.rs:

Git style prompting with support for GIT_ASKPASS and askpass program configuration.

Compatibility

This is a unix-only crate which will return with an error when trying to obtain any prompt on other platforms. On those platforms it is common to have helpers which perform this task so it shouldn't be a problem.

Dependencies

~2.7–8MB
~74K SLoC