1 unstable release
Uses old Rust 2015
0.1.0 | May 19, 2016 |
---|
#14 in #humans
7KB
153 lines
humanity
Generate humans.txt from the GitHub's contributors list.
Usage
To compile humanity, Rust Nightly is required.
$ cargo build --release
$ ./target/release/humanity iron/params
If the program crashes, it's because GitHub APIs allow you to execute a very low amount of requests.
What you have to do is just generating a new token (pick
a name, leave everything unchecked and press "Generate token") and run export GITHUB_ACCESS_TOKEN=
,
appending the received token.
Customizations
It's possible to create additional fetchers implenting the HumanityBearer
trait and also redefining
the output format using a custom implementation of ToString
for Humanity
and User
.
Dependencies
~6.5MB
~152K SLoC