Commit graph

528 commits

Author SHA1 Message Date
dependabot[bot]
d0d7a1437a
chore(deps): Bump assert_cmd from 1.0.7 to 1.0.8
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 1.0.7 to 1.0.8.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v1.0.7...v1.0.8)

---
updated-dependencies:
- dependency-name: assert_cmd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-01 07:05:27 +00:00
dependabot[bot]
0ab1993bcb
chore(deps): Bump serde from 1.0.126 to 1.0.127
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.126 to 1.0.127.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.126...v1.0.127)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-01 07:05:18 +00:00
dependabot[bot]
febcee3332
chore(deps): Bump env_logger from 0.8.4 to 0.9.0
Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.8.4 to 0.9.0.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases)
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.4...v0.9.0)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-01 07:05:08 +00:00
Ed Page
f5b42c3e61 chore: Release 2021-07-30 12:14:20 -05:00
Ed Page
2304fc6735 chore: Release 2021-07-30 12:12:07 -05:00
Ed Page
9a8d41fcb2 chore: Release 2021-07-30 12:09:59 -05:00
Ed Page
bdafa4167e chore: Remove 'difference' dependency
Fixes #307
2021-07-30 11:35:30 -05:00
Ed Page
39afbec0ea chore: Release 2021-07-30 11:10:12 -05:00
Ed Page
488d24f78b chore: Release 2021-07-27 15:43:50 -05:00
Ed Page
30038f572b chore: Release 2021-07-27 15:33:16 -05:00
Ed Page
f60e798a2a chore: Release 2021-07-27 15:31:01 -05:00
Ed Page
3486c23bdb chore: Release 2021-07-27 15:29:18 -05:00
Ed Page
4c2f2c434a feat(dict): Shared PHF support 2021-07-01 11:14:30 -05:00
Ed Page
c8d1058a71 refactor(dict): Change typos-dict to trie
This is +/- 15%, depending on the benchmark.
2021-07-01 10:41:56 -05:00
Ed Page
a1e95bc7c0 refactor(dict): Pull out table-lookup logic
Before, only some dicts did we guarentee were pre-sorted.  Now, all are
for-sure pre-sorted.

This also gives each dict the size-check to avoid lookup.

But this is really about refactoring in prep for playing with other
lookup options, like tries.
2021-06-30 10:12:17 -05:00
Ed Page
8f3f5b90ad chore: Release 2021-06-29 15:34:25 -05:00
Ed Page
9149c4765d chore: Release 2021-06-29 15:05:18 -05:00
Ed Page
ded90f2387 perf(parser): Auto-detect unicode
For smaller, ascii-only content, this seems to be taking ~30% less time
for parsing.
2021-06-29 05:28:17 -05:00
Ed Page
3e5787c0e2 chore: Release 2021-06-28 14:56:13 -05:00
Ed Page
e9c800b2bf chore: Release 2021-06-15 17:32:26 -05:00
Ed Page
5304d94fb7 chore: Release 2021-06-15 10:53:20 -05:00
Ed Page
c1096917a6 chore: Release 2021-06-15 10:52:49 -05:00
Ed Page
3a4d039c4f chore: Reduce code-gen memory usage
More `const fn` removals to reduce compilation memory use
2021-06-07 08:58:34 -05:00
Ed Page
a861cbfb1f chore: Release 2021-06-07 08:04:04 -05:00
Ed Page
04f5d40e57 chore: Release 2021-06-05 14:39:37 -05:00
Ed Page
3a952cba8f chore: Release 2021-06-05 14:37:25 -05:00
Ed Page
b1cf03c7eb refactor(varcon): Move away from PHF
This is mostly to give implementation flexibility for changing out how
we store the data to reduce compilation memory usage.

This does have performance impact, jumping from ~220ns to ~320ns for a
dict lookup, according to our micro benchmarks.
2021-06-04 14:59:46 -05:00
Ed Page
592b36d23c chore: Release 2021-05-31 21:31:29 -05:00
Ed Page
b7ec6c0f0f chore: Update dependencies 2021-05-31 20:59:24 -05:00
Ed Page
96341acd48 chore: Release 2021-05-28 19:35:00 -05:00
Ed Page
d45e7cf5a3 fix(cli): Don't crash on stdin
Fixes #264
2021-05-28 19:02:27 -05:00
Ed Page
7371d92b16 chore: Release 2021-05-28 08:34:11 -05:00
Ed Page
b4e198a280 chore: Release 2021-05-27 13:56:37 -05:00
Ed Page
8cb17d1363 chore: Release 2021-05-25 21:02:40 -05:00
Ed Page
3e66a99674 chore: Release 2021-05-21 20:41:02 -05:00
Ed Page
3995745362 chore: Release 2021-05-21 20:39:12 -05:00
Ed Page
fb0dac4297 refactor(dict): Allow 0..n corrections in BuiltIn
The main use case is taking `ther` -> `there` and adding `the` and
`their`.
2021-05-18 12:02:03 -05:00
Ed Page
b830872ad0 chore: Update enumflags2 2021-05-13 10:20:15 -05:00
Ed Page
7c803681c4 chore: Release 2021-05-13 09:58:09 -05:00
Ed Page
60950d02bb feat(cli): Colored output
This supports
- Basic capability detection
- NO_COLOR env variable
- tty detection
- CLI overrides

This does not yet support CLICOLOR.  I'll be trying to upstream all of
this into `yansi` and get it taken care of there.

This only supports Windows Anniversary edition and later which I think
is a fine compromise due to the ergonomic difference between `yansi` and
`termcolor`.

Fixes #30
2021-05-12 21:11:52 -05:00
dependabot[bot]
c42945b88e
chore(deps): Bump regex from 1.5.1 to 1.5.2
Bumps [regex](https://github.com/rust-lang/regex) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.5.1...1.5.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 14:07:40 +00:00
Ed Page
0e16f37e47
Merge pull request #241 from crate-ci/dependabot/cargo/regex-1.5.1
chore(deps): Bump regex from 1.4.6 to 1.5.1
2021-05-01 09:05:15 -05:00
Ed Page
3b9061dece
Merge pull request #240 from crate-ci/dependabot/cargo/codegenrs-1.0.0
chore(deps): Bump codegenrs from 0.1.5 to 1.0.0
2021-05-01 09:04:51 -05:00
dependabot[bot]
c7521bfc7e
chore(deps): Bump regex from 1.4.6 to 1.5.1
Bumps [regex](https://github.com/rust-lang/regex) from 1.4.6 to 1.5.1.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.4.6...1.5.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 07:02:07 +00:00
dependabot[bot]
d72fa7acba
chore(deps): Bump codegenrs from 0.1.5 to 1.0.0
Bumps [codegenrs](https://github.com/crate-ci/codegenrs) from 0.1.5 to 1.0.0.
- [Release notes](https://github.com/crate-ci/codegenrs/releases)
- [Changelog](https://github.com/crate-ci/codegenrs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/codegenrs/compare/v0.1.5...v1.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 07:01:59 +00:00
Ed Page
2fc1f5468e chore(cli): Allow building without expensive parts
The obvious case is building for docs.rs but this can be helpful for
special use cases or faster development iteration.
2021-04-30 21:31:25 -05:00
Ed Page
42d398fd5f chore: Update deps 2021-04-30 10:40:13 -05:00
Ed Page
9cbc7410a4 fix(parser)!: Defer to Unicode XID for identifiers
This saves us from having to have configuration for every detail.  If
people need more control, we can offer it later.

Fixes #225
2021-04-29 18:30:57 -05:00
Ed Page
6b92e345cc perf(parser): Speed up UTF-8 validation 2021-04-27 21:17:46 -05:00
Ed Page
1f4c587692 chore({{crate_name}}): Release {{version}} 2021-04-14 19:13:25 -05:00
Ed Page
68c0a0d898 test(config): Ensure CLI overrides work 2021-04-07 21:14:41 -05:00
Ed Page
8bcacf3ca6 refactor(cli): Break out config->policy
This is prep for having many policies floating around
2021-03-29 20:27:12 -05:00
Ed Page
75ba4ac535 perf(config): Get small-string optimization 2021-03-01 12:25:51 -06:00
Ed Page
e9ff977be5 chore: Upgrade dependencies 2021-03-01 11:50:23 -06:00
Ed Page
364e9f1dc8 refactor(bench): Switch to criterion 2021-02-05 21:38:44 -06:00
Ed Page
d6fa23b4a9 chore: Update dependencies 2021-02-04 21:40:07 -06:00
Ed Page
d32099e457 fix: Force a specific 'syn' version 2021-01-11 07:10:48 -06:00
dependabot-preview[bot]
b8d3190ce9
chore(deps): bump itertools from 0.9.0 to 0.10.0
Bumps [itertools](https://github.com/bluss/rust-itertools) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/bluss/rust-itertools/releases)
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bluss/rust-itertools/compare/v0.9.0...v0.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-03 03:40:45 +00:00
Ed Page
998fad4390 feat: Check and replace UTF-16 files
We don't have good detection for non-UTF encodings and don't have
encoding support for UTF-32, so limiting it to just UTF-16.

Fixes #17
2021-01-02 19:25:00 -06:00
Ed Page
bc90bacff2 refactor(typos): Pull out file logic 2021-01-02 13:10:30 -06:00
dependabot-preview[bot]
4acf11f040
chore(deps): bump proc-exit from 0.3.0 to 1.0.1
Bumps [proc-exit](https://github.com/assert-rs/proc-exit) from 0.3.0 to 1.0.1.
- [Release notes](https://github.com/assert-rs/proc-exit/releases)
- [Changelog](https://github.com/assert-rs/proc-exit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/proc-exit/compare/v0.3.0...v1.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-01 14:26:05 +00:00
Ed Page
d5a781fd25
Merge pull request #179 from crate-ci/dependabot/cargo/unicode-segmentation-1.7.1
chore(deps): bump unicode-segmentation from 1.7.0 to 1.7.1
2020-12-01 08:24:59 -06:00
Ed Page
793207165d
Merge pull request #180 from crate-ci/dependabot/cargo/ahash-0.6.1
chore(deps): bump ahash from 0.5.7 to 0.6.1
2020-12-01 08:24:51 -06:00
Ed Page
b030a1049a
Merge pull request #181 from crate-ci/dependabot/cargo/csv-1.1.5
chore(deps): bump csv from 1.1.4 to 1.1.5
2020-12-01 08:24:40 -06:00
Ed Page
54ed280a83
Merge pull request #183 from crate-ci/dependabot/cargo/nom-6.0.1
chore(deps): bump nom from 6.0.0 to 6.0.1
2020-12-01 08:24:22 -06:00
dependabot-preview[bot]
cec9bd351c
chore(deps): bump structopt from 0.3.20 to 0.3.21
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.20 to 0.3.21.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.20...v0.3.21)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-01 08:20:20 +00:00
dependabot-preview[bot]
950279ef03
chore(deps): bump nom from 6.0.0 to 6.0.1
Bumps [nom](https://github.com/Geal/nom) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/Geal/nom/releases)
- [Changelog](https://github.com/Geal/nom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Geal/nom/compare/6.0.0...6.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-01 08:19:56 +00:00
dependabot-preview[bot]
5640d23b95
chore(deps): bump csv from 1.1.4 to 1.1.5
Bumps [csv](https://github.com/BurntSushi/rust-csv) from 1.1.4 to 1.1.5.
- [Release notes](https://github.com/BurntSushi/rust-csv/releases)
- [Commits](https://github.com/BurntSushi/rust-csv/compare/1.1.4...1.1.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-01 08:19:21 +00:00
dependabot-preview[bot]
31e8988b38
chore(deps): bump ahash from 0.5.7 to 0.6.1
Bumps [ahash](https://github.com/tkaitchuck/ahash) from 0.5.7 to 0.6.1.
- [Release notes](https://github.com/tkaitchuck/ahash/releases)
- [Commits](https://github.com/tkaitchuck/ahash/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-01 08:18:56 +00:00
dependabot-preview[bot]
7fa5a9eadf
chore(deps): bump unicode-segmentation from 1.7.0 to 1.7.1
Bumps [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/unicode-rs/unicode-segmentation/releases)
- [Commits](https://github.com/unicode-rs/unicode-segmentation/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-01 08:18:35 +00:00
Ed Page
e9b3378913 fix: Be friendlier with panics 2020-11-23 12:40:55 -06:00
Ed Page
b03df3aeae fix: Return more precise errors 2020-11-23 10:08:38 -06:00
Ed Page
869b916ca6 fix: Handle broken pipe 2020-11-21 21:57:12 -06:00
Ed Page
4ddbdcf5dd fix(cli): Define an error code policy
The main goal is to make spelling errors differentiated from other
errors.

Fixes #170
2020-11-14 21:17:29 -06:00
Ed Page
d258e62f43 feat(report): Diff output mode 2020-11-11 18:52:23 -06:00
Ed Page
150c5bfdc1 perf: Hash faster for custom dicts
If we have to hash for the custom dict, we might as well be fast about
it.  We do not need a cryptographically secure algorithm since the
content is fixed for the user.

Master:
```
real    0m26.675s
user    0m33.683s
sys     0m4.535s
```

With ahash:
```
real    0m23.993s
user    0m30.800s
sys     0m4.440s
```
2020-11-10 20:56:49 -06:00
Ed Page
e4edbc5f7e chore: Update dependencies 2020-11-10 19:47:13 -06:00
Ed Page
c361647eca chore: Update dependencies 2020-11-10 07:02:34 -06:00
Ed Page
97f90da9bc refactor: Move off of lazy_static 2020-11-10 06:30:27 -06:00
Ed Page
79d10d6d24
Merge pull request #139 from crate-ci/dependabot/cargo/derive_more-0.99.11
chore(deps): bump derive_more from 0.99.9 to 0.99.11
2020-10-26 21:28:28 -05:00
Ed Page
01c7551168
Merge pull request #142 from crate-ci/dependabot/cargo/serde_json-1.0.58
chore(deps): bump serde_json from 1.0.57 to 1.0.58
2020-10-26 21:28:17 -05:00
Ed Page
0c5ce25c1e
Merge pull request #141 from crate-ci/dependabot/cargo/structopt-0.3.18
chore(deps): bump structopt from 0.3.17 to 0.3.18
2020-10-26 21:28:04 -05:00
dependabot-preview[bot]
56507b6696
chore(deps): bump serde_json from 1.0.57 to 1.0.58
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.57 to 1.0.58.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.57...v1.0.58)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-01 08:12:33 +00:00
dependabot-preview[bot]
05b56957d4
chore(deps): bump structopt from 0.3.17 to 0.3.18
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.17 to 0.3.18.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.17...v0.3.18)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-01 08:12:21 +00:00
dependabot-preview[bot]
beed707cb2
chore(deps): bump serde from 1.0.115 to 1.0.116
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.115 to 1.0.116.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.115...v1.0.116)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-01 08:12:09 +00:00
dependabot-preview[bot]
84e56b22b5
chore(deps): bump derive_more from 0.99.9 to 0.99.11
Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.99.9 to 0.99.11.
- [Release notes](https://github.com/JelteF/derive_more/releases)
- [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JelteF/derive_more/compare/v0.99.9...v0.99.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-01 08:11:46 +00:00
dependabot-preview[bot]
cb6cf092d9
chore(deps): bump structopt from 0.3.16 to 0.3.17
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.16 to 0.3.17.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.16...v0.3.17)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-01 08:19:39 +00:00
Ed Page
a63dfa0f8c perf: Faster binary-file detection
This switches us from a homegrown implementation to `context_inspector`
- Adds some optimizations by looking for the BoM.
- We used the same algorithm for finding Null bytes
- `context_inspector` caps how much of the buffer is searche though

Besides performance, `content_inspector` also has some known-binary
magic numbers to avoid bad detections.

Fixes #34
2020-08-21 16:29:11 -05:00
Ed Page
ab4a5bbdaf feat: Support english dialects
The goal is to be as accepting and unobtrusive to new code bases as
possible.  To this end, we correct typos into the closest english
dialect.

If someone wants to opt-in, they can have typos correct to a specific
english dialect.

Fixes #52
Fixes #22
2020-08-20 19:37:37 -05:00
dependabot-preview[bot]
44cc750ab8 chore(deps): bump serde_json from 1.0.53 to 1.0.56
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.53 to 1.0.56.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.53...v1.0.56)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-04 20:52:47 -05:00
dependabot-preview[bot]
b52d1b67c3 chore(deps): bump structopt from 0.3.14 to 0.3.15
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.14 to 0.3.15.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.14...v0.3.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-04 20:52:47 -05:00
dependabot-preview[bot]
354fec1aa1 chore(deps): bump nom from 5.1.1 to 5.1.2
Bumps [nom](https://github.com/Geal/nom) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/Geal/nom/releases)
- [Changelog](https://github.com/Geal/nom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Geal/nom/compare/5.1.1...5.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-04 20:52:47 -05:00
dependabot-preview[bot]
9c379b1827 chore(deps): bump serde from 1.0.111 to 1.0.114
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.111 to 1.0.114.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.111...v1.0.114)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-04 20:52:47 -05:00
dependabot-preview[bot]
2c3ac84a6b chore(deps): bump thiserror from 1.0.19 to 1.0.20
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.19 to 1.0.20.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.19...1.0.20)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-04 20:52:47 -05:00
dependabot-preview[bot]
146998f331 chore(deps): bump derive_more from 0.99.7 to 0.99.9
Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.99.7 to 0.99.9.
- [Release notes](https://github.com/JelteF/derive_more/releases)
- [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JelteF/derive_more/compare/v0.99.7...v0.99.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-04 20:52:47 -05:00
Ed Page
c3896515f1 chore: Update deps 2020-07-04 20:52:47 -05:00
Ed Page
f4400c2280 refactor(varcon): Pull out core types 2020-07-04 20:52:47 -05:00
Ed Page
94bc42eb07 fix(varcon): Name of crate was wrong 2020-07-04 20:52:47 -05:00
Ed Page
7f983992bd feat(dict): varcon dict 2020-07-04 20:52:47 -05:00
Ed Page
a4140bfe71 chore: Update deps 2020-07-04 20:52:47 -05:00
Ed Page
d1be9c1944 feat: Replacement support
Now can fix typos!

Fixes #4
2020-07-04 20:52:46 -05:00
dependabot-preview[bot]
99450e4b21 chore(deps): bump serde_json from 1.0.48 to 1.0.50
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.48 to 1.0.50.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.48...v1.0.50)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-04 20:52:46 -05:00
dependabot-preview[bot]
c187243300 chore(deps): bump assert_fs from 0.13.1 to 1.0.0
Bumps [assert_fs](https://github.com/assert-rs/assert_fs) from 0.13.1 to 1.0.0.
- [Release notes](https://github.com/assert-rs/assert_fs/releases)
- [Changelog](https://github.com/assert-rs/assert_fs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_fs/commits/v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-04 20:52:46 -05:00
dependabot-preview[bot]
5ed224b0b7 chore(deps): bump thiserror from 1.0.12 to 1.0.14
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.12 to 1.0.14.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.12...1.0.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-04 20:52:46 -05:00
dependabot-preview[bot]
c68d39266e chore(deps): bump ignore from 0.4.12 to 0.4.14
Bumps [ignore](https://github.com/BurntSushi/ripgrep) from 0.4.12 to 0.4.14.
- [Release notes](https://github.com/BurntSushi/ripgrep/releases)
- [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/ripgrep/compare/ignore-0.4.12...ignore-0.4.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-04 20:52:46 -05:00
dependabot-preview[bot]
a6f19bfd65 chore(deps): bump derive_more from 0.99.3 to 0.99.5
Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.99.3 to 0.99.5.
- [Release notes](https://github.com/JelteF/derive_more/releases)
- [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JelteF/derive_more/compare/v0.99.3...v0.99.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-04 20:52:46 -05:00
dependabot-preview[bot]
e12b0f0f68 chore(deps): bump itertools from 0.8.2 to 0.9.0
Bumps [itertools](https://github.com/bluss/rust-itertools) from 0.8.2 to 0.9.0.
- [Release notes](https://github.com/bluss/rust-itertools/releases)
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bluss/rust-itertools/compare/v0.8.2...v0.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-04 20:52:46 -05:00
dependabot-preview[bot]
8b823e0f84 chore(deps): bump regex from 1.3.5 to 1.3.6
Bumps [regex](https://github.com/rust-lang/regex) from 1.3.5 to 1.3.6.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.3.5...1.3.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-04 20:52:46 -05:00
dependabot-preview[bot]
c3352185cf chore(deps): bump anyhow from 1.0.27 to 1.0.28
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.27 to 1.0.28.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.27...1.0.28)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-04 20:52:46 -05:00
Ed Page
6b8047ee44 perf: Multi-threaded spell checking
Fixes #7
2020-03-21 14:22:53 -05:00
Ed Page
ce4a7578d7
Merge pull request #87 from crate-ci/dependabot/cargo/derive_more-0.99.3
chore(deps): bump derive_more from 0.15.0 to 0.99.3
2020-03-02 09:49:31 -06:00
dependabot-preview[bot]
4351f1b9d9
chore(deps): bump derive_more from 0.15.0 to 0.99.3
Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.15.0 to 0.99.3.
- [Release notes](https://github.com/JelteF/derive_more/releases)
- [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JelteF/derive_more/compare/0.15.0...v0.99.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 15:38:48 +00:00
dependabot-preview[bot]
35d972aeff
chore(deps): bump thiserror from 1.0.10 to 1.0.11
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.10 to 1.0.11.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.10...1.0.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 15:38:33 +00:00
Ed Page
4cc71279d4
Merge pull request #85 from crate-ci/dependabot/cargo/serde_json-1.0.48
chore(deps): bump serde_json from 1.0.46 to 1.0.48
2020-03-02 09:36:58 -06:00
dependabot-preview[bot]
d73bba1f33
chore(deps): bump serde_json from 1.0.46 to 1.0.48
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.46 to 1.0.48.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.46...v1.0.48)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-01 07:13:59 +00:00
dependabot-preview[bot]
3a08642f81
chore(deps): bump bstr from 0.2.10 to 0.2.11
Bumps [bstr](https://github.com/BurntSushi/bstr) from 0.2.10 to 0.2.11.
- [Release notes](https://github.com/BurntSushi/bstr/releases)
- [Commits](https://github.com/BurntSushi/bstr/compare/0.2.10...0.2.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-01 07:13:37 +00:00
Ed Page
3a4f006782 chore: Update dependencies 2020-02-03 06:48:55 -06:00
dependabot-preview[bot]
4625fb95b9
chore(deps): bump serde from 1.0.103 to 1.0.104
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.103 to 1.0.104.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.103...v1.0.104)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-01 23:46:02 +00:00
Ed Page
2cf779476b
Merge pull request #74 from crate-ci/dependabot/cargo/thiserror-1.0.9
chore(deps): bump thiserror from 1.0.6 to 1.0.9
2020-01-01 16:44:46 -07:00
dependabot-preview[bot]
510fd2dba3
chore(deps): bump thiserror from 1.0.6 to 1.0.9
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.6 to 1.0.9.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.6...1.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-01 23:09:49 +00:00
Ed Page
996b72628c
Merge pull request #77 from crate-ci/dependabot/cargo/anyhow-1.0.26
chore(deps): bump anyhow from 1.0.25 to 1.0.26
2020-01-01 16:09:17 -07:00
Ed Page
24eeb86900
Merge pull request #75 from crate-ci/dependabot/cargo/toml-0.5.5
chore(deps): bump toml from 0.4.10 to 0.5.5
2020-01-01 16:08:45 -07:00
dependabot-preview[bot]
094695ff43
chore(deps): bump anyhow from 1.0.25 to 1.0.26
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.25 to 1.0.26.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.25...1.0.26)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-01 22:14:50 +00:00
dependabot-preview[bot]
252420215d
chore(deps): bump toml from 0.4.10 to 0.5.5
Bumps [toml](https://github.com/alexcrichton/toml-rs) from 0.4.10 to 0.5.5.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases)
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.4.10...0.5.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-01 22:14:42 +00:00
dependabot-preview[bot]
4652ed350f
chore(deps): bump serde_json from 1.0.41 to 1.0.44
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.41 to 1.0.44.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.41...v1.0.44)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-01 22:14:35 +00:00
Ed Page
b21db206d2 chore: Update env_logger 2019-12-02 09:50:06 -07:00
Ed Page
04c22191d5
Merge pull request #71 from crate-ci/dependabot/cargo/unicode-segmentation-1.6.0
chore(deps): bump unicode-segmentation from 1.3.0 to 1.6.0
2019-12-02 07:53:29 -07:00
Ed Page
344918b475
Merge pull request #70 from crate-ci/dependabot/cargo/serde-1.0.103
chore(deps): bump serde from 1.0.101 to 1.0.103
2019-12-02 07:53:16 -07:00
Ed Page
023be57277
Merge pull request #72 from crate-ci/dependabot/cargo/assert_fs-0.13.1
chore(deps): bump assert_fs from 0.11.3 to 0.13.1
2019-12-02 07:40:22 -07:00
dependabot-preview[bot]
e46cf0e17c
chore(deps): bump unicode-segmentation from 1.3.0 to 1.6.0
Bumps [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation) from 1.3.0 to 1.6.0.
- [Release notes](https://github.com/unicode-rs/unicode-segmentation/releases)
- [Commits](https://github.com/unicode-rs/unicode-segmentation/commits/v1.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 14:11:13 +00:00
dependabot-preview[bot]
471be26a93
chore(deps): bump serde from 1.0.101 to 1.0.103
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.101 to 1.0.103.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.101...v1.0.103)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 14:11:13 +00:00
Ed Page
0731695c79
Merge pull request #69 from crate-ci/dependabot/cargo/thiserror-1.0.6
chore(deps): bump thiserror from 1.0.4 to 1.0.6
2019-12-02 07:09:55 -07:00
dependabot-preview[bot]
b45157e955
chore(deps): bump assert_fs from 0.11.3 to 0.13.1
Bumps [assert_fs](https://github.com/assert-rs/assert_fs) from 0.11.3 to 0.13.1.
- [Release notes](https://github.com/assert-rs/assert_fs/releases)
- [Changelog](https://github.com/assert-rs/assert_fs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_fs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-02 14:07:04 +00:00
dependabot-preview[bot]
2f2e412011
chore(deps): bump thiserror from 1.0.4 to 1.0.6
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.4 to 1.0.6.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.4...1.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-01 07:12:58 +00:00
dependabot-preview[bot]
7f4b5b9f03
chore(deps): bump anyhow from 1.0.18 to 1.0.25
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.18 to 1.0.25.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.18...1.0.25)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-01 07:12:35 +00:00
Ed Page
a4995ec2ae chore(typos-codegen): Release 1.0.2 2019-11-02 20:14:14 -06:00
Ed Page
f9d1999740 chore(typos-cli): Release 0.1.4 2019-11-02 20:10:00 -06:00
Ed Page
3c07698e11 chore(typos-dict): Release 0.2.1 2019-11-02 20:07:25 -06:00
Ed Page
07ea4a2f50 chore(misspell-dict): Release 0.1.2 2019-11-02 20:07:03 -06:00
Ed Page
d7545a6c67 chore(misspell-codegen): Release 0.1.2 2019-11-02 20:06:02 -06:00
Ed Page
1489fd1c85 chore(codespell-dict): Release 0.1.2 2019-11-02 20:05:03 -06:00
Ed Page
20ad0cff2f chore(codespell-codegen): Release 0.1.2 2019-11-02 20:03:51 -06:00
Ed Page
0d9fd9a34e chore(typos): Release 0.3.0 2019-11-02 19:59:59 -06:00
Ed Page
b4c4bdd1c5 fix!: Use a simple error trait in lib 2019-10-29 13:37:48 -06:00
Ed Page
06db6fc693 refactor!: Move off of failure 2019-10-29 11:36:50 -06:00
Ed Page
559718cb22 chore: Remove unused dependency 2019-10-29 11:21:10 -06:00
Ed Page
ea93373b37 chore(typos-cli): Release 0.1.3 2019-10-29 09:09:53 -06:00
Ed Page
ac90322c37 chore(typos-cli): Release 0.1.2 2019-10-29 08:36:00 -06:00
Ed Page
b10b7756f6 chore(typos): Release 0.2.0 2019-10-29 08:33:35 -06:00
Ed Page
0208dfadba chore(typos-dict): Release 0.2.0 2019-10-29 08:31:56 -06:00
Ed Page
0f06e602cb feat: Expose wikipedia's dict to Rust 2019-10-28 13:41:00 -06:00
Ed Page
3daafd1ea7 feat: Expose client9/misspell's dict to Rust 2019-10-28 13:41:00 -06:00
Ed Page
ce1ef2ca30 refactor!: Move dict implementation into CLI 2019-10-28 11:00:47 -06:00
Ed Page
5de368ac9d refactor(codegen): Hard code data 2019-10-28 11:00:47 -06:00
Ed Page
1cbdb3a77a feat: Expose codespell's dict to Rust 2019-10-28 11:00:47 -06:00
Ed Page
a60ab52c56 test: Add benchmarks for real-word processing 2019-10-25 15:48:39 -06:00
Ed Page
12e6cadbe7 chore: Update dependencies 2019-10-25 10:25:59 -06:00
Ed Page
2ae125536d chore(typos-codegen): Release 1.0.1 2019-10-25 10:12:07 -06:00
Ed Page
04775f6679 chore(typos-cli): Release 0.1.1 2019-10-25 10:10:55 -06:00
Ed Page
bdbb826478 chore(typos-dict): Release 0.1.1 2019-10-25 10:06:02 -06:00
Ed Page
de77cdcb5b chore(typos): Release 0.1.1 2019-10-25 10:00:54 -06:00
Ed Page
ed89557e96 chore: Update dependencies 2019-10-25 09:47:02 -06:00
Ed Page
5e6e4b9ad7 chore: Upgrade structopt 2019-10-17 20:49:26 -06:00
Ed Page
23faf30f24 refactor(dict): Speed up build times by caching codegen 2019-10-05 22:04:50 -04:00
Ed Page
1bdd1c928a refactor: Split out typos-dict 2019-08-08 10:24:50 -05:00
Ed Page
164ee9cb84 refactor: Split bin/lib into separate crates 2019-08-08 10:04:51 -05:00
Ed Page
3d4da686ad feat: Accept config on command-line 2019-08-08 08:58:34 -05:00
Ed Page
e90a89ef93 refactor(report): Leverage derive_more 2019-08-07 08:20:18 -05:00
Ed Page
a129fb3d65 refactor(report): Switch to swrde derive feature 2019-08-07 08:16:22 -05:00
Ed Page
3419a8df85 feat(parse): Make identifier symbols configurable 2019-08-07 07:36:49 -05:00
Ed Page
469ae14181 feat: Log debug information
Fixes #39
2019-07-19 21:45:51 -06:00
Ed Page
4ce7303fc2 refactor(parser): Switch to bstr for line splitting 2019-07-13 22:41:31 -06:00
Ed Page
377c911328 fix: Rename to typos 2019-07-03 19:22:36 -06:00
Ed Page
af66072272 feat(dict): Perform case-insensitive comparisons 2019-06-13 19:55:21 -06:00
Ed Page
f8d42116da refactor: Rename module 2019-04-16 20:16:31 -06:00
Ed Page
af196a9561 fix: Settle on a name? 2019-04-16 17:27:55 -06:00
Ed Page
2ddd7d93df feat: Control over output format 2019-01-23 16:48:58 -07:00
Ed Page
0cdd64c038 Initial commit 2019-01-22 15:01:33 -07:00