- A config file can now be defined at your
XDG_CONFIG_HOME
, which by default is$HOME/.config/credit.toml
. At the moment the only field istoken
:
token = "abc123" # Your Github Access Token.
With this, you no longer need to pass --token
on the command line.
- The dependency
reqwest
has been removed in favour of rawcurl
. This reduces dependency count by about 100 crates, and the final stripped binary size is now 1.5mb, down from about 4.5mb.
- A
--version
flag to display the current version ofcredit
.
- Swapped
isahc
forreqwest
, which allowscredit
to be compiled with the MUSL target and be fully statically linked.
- New
users
command to produce per-country Developer Rankings.
> credit users --token=<token> --location=Switzerland
# Top 100 Open Source Contributors in Switzerland
There are currently 18518 Github users in Switzerland.
1. oleg-nenashev (7331 contributions)
2. cclauss (6378 contributions)
3. dpryan79 (5604 contributions)
4. peterpeterparker (4869 contributions)
5. ReneNyffenegger (4722 contributions)
... and so on.
- Better release profile which produces smaller binaries.
- New
--start
and--end
options forrepo
that will only consider contributions/comments between the given dates. - New
--commits
option forrepo
. This adds another contributor ranking: the number of commits that appear in merged PRs. Keep in mind that using this requires more data from Github, and so takes longer to complete.
- New
repo
command that holds the old default behaviour. Use this to analyse projects. - New
limit
command for reporting the remaining Github API query allowance for a given token. - New
json
command for generating a full Markdown report for JSON results produced by a previous run ofcredit repo --json
.
credit
now uses the GraphQL-based V4 Github API. This has drastically improved performance and uses far less of a user's API quota upon each run.
- Allow multiple repositories to be checked at the same time. Their results are aggregated into a single report.
The initial release.