Commit Graph

264 Commits

Author SHA1 Message Date
Casey Rodarmor
1749fce2b2
Slighly improve readability of Hasher::hash_root
type: reform
2020-04-07 19:00:48 -07:00
Casey Rodarmor
1f5b829742
Add table of contents to readme
type: documentation
2020-04-07 19:00:48 -07:00
Casey Rodarmor
66d44155f0
Add BEP support table to readme
Also adds `bin/bin/generate-bep-table.rs`, which generates and updates
the table from a collection of BEPs.

type: documentation
2020-04-07 19:00:48 -07:00
Casey Rodarmor
d1f8f24d8e
Add colored output
Colored output can be controlled on the command line with
`--use-color auto|always|never`. The default is `auto`, which enables
color if `imdl` detects that it is printing to a terminal.

Color can be disabled entirely by setting the `NO_COLOR` environment
variable.

type: added
2020-04-07 19:00:47 -07:00
Casey Rodarmor
b334fa49b2
Redirect stdin and stdout and capture for tests
type: testing
2020-04-07 19:00:47 -07:00
Casey Rodarmor
fd06943726
Rename: Environment -> Env
type: reform
2020-04-07 19:00:44 -07:00
Casey Rodarmor
7420c91553
Rename bencode::Error::ExtraData -> TrailingData
type: reform
2020-04-07 19:00:40 -07:00
Casey Rodarmor
7de1c04776
Fail CI if code isn't formatted
type: testing
2020-04-07 19:00:40 -07:00
Casey Rodarmor
408735621e
Delete extraneous comment in workflow file
type: reform
2020-04-07 19:00:34 -07:00
Casey Rodarmor
074a3b3d42
Run CI tests on windows, macos, and linux
type: testing
2020-04-07 18:55:48 -07:00
Casey Rodarmor
9f83661374
Configure clippy and lint on push
Enable as many lints as I can stand. I'll definitely add more exceptions as
`clippy::pedantic` and `clippy::restriction` wear me down.

type: testing
2020-04-07 18:55:45 -07:00
Casey Rodarmor
7f630a1bd9
Add done recipe to justfile
Safely delete a merged feature branch:

1. Check out `master`
2. Check that there are no pending changes
3. Rebase onto latest github master
4. Check that there are no changes relative to feature branch
5. Delete feature branch

type: development
2020-04-07 18:55:40 -07:00
Casey Rodarmor
3affa8c5e1
Add build and test github action workflow
type: testing
2020-04-07 18:55:37 -07:00
Casey Rodarmor
98335f435d
Initial commit
type: added
2020-04-07 18:55:30 -07:00