#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

#8 in #prompting

Download history 77/week @ 2024-07-21 58/week @ 2024-07-28 79/week @ 2024-08-04 39/week @ 2024-08-11 28/week @ 2024-08-18 31/week @ 2024-08-25 76/week @ 2024-09-01 54/week @ 2024-09-08 17/week @ 2024-09-15 72/week @ 2024-09-22 52/week @ 2024-09-29 88/week @ 2024-10-06 93/week @ 2024-10-13 50/week @ 2024-10-20 97/week @ 2024-10-27 87/week @ 2024-11-03

336 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
~76K SLoC