Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Commit

Permalink
1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fosskers committed Feb 6, 2021
1 parent dc3585d commit a2d4905
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# credit

## 1.4.0 (2021-02-05)

#### Added

- 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 is `token`:

```toml
token = "abc123" # Your Github Access Token.
```

With this, you no longer need to pass `--token` on the command line.

#### Changed

- The dependency `reqwest` has been removed in favour of raw `curl`. This
reduces dependency count by about 100 crates, and the final stripped binary
size is now 1.5mb, down from about 4.5mb.

## 1.3.0 (2020-08-24)

#### Added
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "credit"
version = "1.3.0"
version = "1.4.0"
authors = ["Colin Woodbury <colin@fosskers.ca>"]
edition = "2018"
description = "A fast tool for measuring Github repository contributions."
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Use `credit` to find out:
- [JSON Output](#json-output)
- [Large Projects](#large-projects)
- [Developer Rankings](#developer-rankings)
- [Configuration](#configuration)
- [FAQ](#faq)
- [How accurate is this?](#how-accurate-is-this)
- [Can I see commit counts too?](#can-i-see-commit-counts-too)
Expand Down Expand Up @@ -200,6 +201,17 @@ There are currently 18518 Github users in Switzerland.

As with `repo`, the `--json` flag can be used to output JSON data instead.

## Configuration

A configuration file can be specified at your `XDG_CONFIG_HOME`, which by
default is `$HOME/.config/credit.toml`.


```toml
# Your Github Access Token. With this set, you need not pass `--token` on the command line.
token = "abc123"
```

## FAQ

### How accurate is this?
Expand Down

0 comments on commit a2d4905

Please sign in to comment.