Commit graph

288 commits

Author SHA1 Message Date
Ed Page
91281038aa fix(config): Update to TOML 1.0
Fixes #405
2022-01-24 12:00:52 -06:00
Ed Page
f7fd7c0e42 chore: Release 2022-01-21 10:39:27 -06:00
Ed Page
ac83c55077 chore: Release 2022-01-12 11:16:44 -06:00
Ed Page
c73e96ce21
Merge pull request #398 from epage/concolor
chore: Upgrade concolor
2022-01-11 16:19:29 -06:00
Ed Page
3d33e7e888 chore: Upgrade concolor 2022-01-11 15:55:20 -06:00
Ed Page
b21237d190
Merge pull request #396 from crate-ci/dependabot/cargo/trycmd-0.8.3
chore(deps): Bump trycmd from 0.8.2 to 0.8.3
2022-01-01 09:53:22 -06:00
Ed Page
356f4ed41b
Merge pull request #395 from crate-ci/dependabot/cargo/anyhow-1.0.52
chore(deps): Bump anyhow from 1.0.51 to 1.0.52
2022-01-01 09:53:12 -06:00
Ed Page
1ded4c3dff
Merge pull request #394 from crate-ci/dependabot/cargo/enumflags2-0.7.3
chore(deps): Bump enumflags2 from 0.7.2 to 0.7.3
2022-01-01 09:53:01 -06:00
Ed Page
e36cfd55e7
Merge pull request #393 from crate-ci/dependabot/cargo/serde-1.0.132
chore(deps): Bump serde from 1.0.131 to 1.0.132
2022-01-01 09:52:43 -06:00
dependabot[bot]
313c5c51f0
chore(deps): Bump trycmd from 0.8.2 to 0.8.3
Bumps [trycmd](https://github.com/assert-rs/trycmd) from 0.8.2 to 0.8.3.
- [Release notes](https://github.com/assert-rs/trycmd/releases)
- [Changelog](https://github.com/assert-rs/trycmd/blob/main/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/trycmd/compare/v0.8.2...v0.8.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-01 07:06:18 +00:00
dependabot[bot]
ae0838b27a
chore(deps): Bump anyhow from 1.0.51 to 1.0.52
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.51 to 1.0.52.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.51...1.0.52)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-01 07:06:13 +00:00
dependabot[bot]
85f56325f5
chore(deps): Bump enumflags2 from 0.7.2 to 0.7.3
Bumps [enumflags2](https://github.com/NieDzejkob/enumflags2) from 0.7.2 to 0.7.3.
- [Release notes](https://github.com/NieDzejkob/enumflags2/releases)
- [Commits](https://github.com/NieDzejkob/enumflags2/compare/v0.7.2...v0.7.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-01 07:06:05 +00:00
dependabot[bot]
32ebacff88
chore(deps): Bump serde from 1.0.131 to 1.0.132
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.131 to 1.0.132.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.131...v1.0.132)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-01 07:05:59 +00:00
dependabot[bot]
53e163f231
chore(deps): Bump proc-exit from 1.0.2 to 1.0.3
Bumps [proc-exit](https://github.com/rust-cli/proc-exit) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/rust-cli/proc-exit/releases)
- [Changelog](https://github.com/rust-cli/proc-exit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/proc-exit/compare/v1.0.2...v1.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-01 07:05:52 +00:00
Ed Page
9c5b84d5fe feat: Upgrate to clap3 2021-12-31 15:52:39 -06:00
Ed Page
71b53cb23e chore: Release 2021-12-18 17:52:11 -06:00
Ed Page
9f41ead727 chore: Update dependencies 2021-12-14 15:41:48 -06:00
Ed Page
469a9aedc2 chore: Release 2021-12-14 12:58:03 -06:00
Ed Page
f99eb040de chore: Update dependencies 2021-12-01 08:05:54 -06:00
dependabot[bot]
1632b5b007
chore(deps): Bump serde_json from 1.0.68 to 1.0.72
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.68 to 1.0.72.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.68...v1.0.72)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-01 13:30:25 +00:00
Ed Page
77f82fbd68
Merge pull request #377 from crate-ci/dependabot/cargo/trycmd-0.8.2
chore(deps): Bump trycmd from 0.5.1 to 0.8.2
2021-12-01 07:27:20 -06:00
Ed Page
0a41b6a369
Merge pull request #378 from crate-ci/dependabot/cargo/clap-2.34.0
chore(deps): Bump clap from 2.33.3 to 2.34.0
2021-12-01 07:26:34 -06:00
Ed Page
59d269d6d6
Merge pull request #379 from crate-ci/dependabot/cargo/kstring-1.0.6
chore(deps): Bump kstring from 1.0.5 to 1.0.6
2021-12-01 07:26:22 -06:00
Ed Page
ead24156a7
Merge pull request #381 from crate-ci/dependabot/cargo/anyhow-1.0.51
chore(deps): Bump anyhow from 1.0.44 to 1.0.51
2021-12-01 07:26:10 -06:00
dependabot[bot]
3418eec55f
chore(deps): Bump derive_more from 0.99.16 to 0.99.17
Bumps [derive_more](https://github.com/JelteF/derive_more) from 0.99.16 to 0.99.17.
- [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.16...v0.99.17)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-01 07:02:57 +00:00
dependabot[bot]
5de993a0a1
chore(deps): Bump anyhow from 1.0.44 to 1.0.51
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.44 to 1.0.51.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.44...1.0.51)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-01 07:02:50 +00:00
dependabot[bot]
c4908bc88f
chore(deps): Bump kstring from 1.0.5 to 1.0.6
Bumps [kstring](https://github.com/cobalt-org/kstring) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/cobalt-org/kstring/releases)
- [Changelog](https://github.com/cobalt-org/kstring/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cobalt-org/kstring/compare/v1.0.5...v1.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-01 07:02:37 +00:00
dependabot[bot]
04fcc75bcd
chore(deps): Bump clap from 2.33.3 to 2.34.0
Bumps [clap](https://github.com/clap-rs/clap) from 2.33.3 to 2.34.0.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-01 07:02:30 +00:00
dependabot[bot]
779b7685f9
chore(deps): Bump trycmd from 0.5.1 to 0.8.2
Bumps [trycmd](https://github.com/assert-rs/trycmd) from 0.5.1 to 0.8.2.
- [Release notes](https://github.com/assert-rs/trycmd/releases)
- [Changelog](https://github.com/assert-rs/trycmd/blob/main/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/trycmd/compare/v0.5.1...v0.8.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-01 07:02:22 +00:00
Ed Page
496b8ab3e1 chore: Release 2021-11-16 07:49:32 -06:00
Ed Page
c0e8a2c932 chore: Release 2021-11-16 07:46:33 -06:00
Ed Page
7377c3d382 chore: Release 2021-11-15 08:37:02 -06:00
Neubauer, Sebastian
141adb6837 fix(test): Update trycmd, so failures work
Before trycmd 0.5.1, a failing test still resulted in a succeeding
`cargo test` run.
2021-11-12 22:53:19 +01:00
Ed Page
cdfdc4084c chore: Update trycmd 2021-11-10 16:09:00 -06:00
Ed Page
9446008676 test: Port to trycmd 2021-11-08 11:20:27 -06:00
Ed Page
52feee42f9 Merge remote-tracking branch 'upstream/master' 2021-11-03 11:51:55 -05:00
Ed Page
153f570ec9 chore: Release 2021-11-03 11:48:12 -05:00
Ed Page
fb0b0890e0
Merge pull request #369 from crate-ci/dependabot/cargo/ahash-0.7.6
chore(deps): Bump ahash from 0.7.4 to 0.7.6
2021-11-01 07:58:24 -05:00
Ed Page
fbe53fca55
Merge pull request #370 from crate-ci/dependabot/cargo/assert_fs-1.0.6
chore(deps): Bump assert_fs from 1.0.5 to 1.0.6
2021-11-01 07:57:55 -05:00
Ed Page
7eeacf1c72
Merge pull request #368 from crate-ci/dependabot/cargo/assert_cmd-2.0.2
chore(deps): Bump assert_cmd from 2.0.1 to 2.0.2
2021-11-01 07:57:44 -05:00
Ed Page
70a606df6f
Merge pull request #367 from crate-ci/dependabot/cargo/structopt-0.3.25
chore(deps): Bump structopt from 0.3.23 to 0.3.25
2021-11-01 07:57:34 -05:00
dependabot[bot]
909a0e937b
chore(deps): Bump assert_fs from 1.0.5 to 1.0.6
Bumps [assert_fs](https://github.com/assert-rs/assert_fs) from 1.0.5 to 1.0.6.
- [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/compare/v1.0.5...v1.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 07:02:54 +00:00
dependabot[bot]
04bf50894f
chore(deps): Bump ahash from 0.7.4 to 0.7.6
Bumps [ahash](https://github.com/tkaitchuck/ahash) from 0.7.4 to 0.7.6.
- [Release notes](https://github.com/tkaitchuck/ahash/releases)
- [Commits](https://github.com/tkaitchuck/ahash/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 07:02:49 +00:00
dependabot[bot]
3bbc08bf34
chore(deps): Bump assert_cmd from 2.0.1 to 2.0.2
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 2.0.1 to 2.0.2.
- [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/v2.0.1...v2.0.2)

---
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-11-01 07:02:42 +00:00
dependabot[bot]
1da5450eb0
chore(deps): Bump structopt from 0.3.23 to 0.3.25
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.23 to 0.3.25.
- [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.23...v0.3.25)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 07:02:36 +00:00
dependabot[bot]
27ad367734
chore(deps): Bump thiserror from 1.0.29 to 1.0.30
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.29 to 1.0.30.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.29...1.0.30)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 07:02:28 +00:00
Ed Page
e394b4d65e chore: Release 2021-10-23 09:44:22 -05:00
Ed Page
b17b811ec1 feat(cli): Smarter color control 2021-10-06 10:08:42 -05:00
Ed Page
eebe950b2c chore: Update deps 2021-10-01 08:29:05 -05:00
Ed Page
3cd24f5cca chore: Release 2021-09-14 10:03:34 -05:00
Ed Page
335bd89193 chore: Update dependencies 2021-09-01 07:13:35 -05:00
Ed Page
92e46848a3 chore: Update dependencies 2021-09-01 06:38:52 -05:00
Ed Page
dbea7ab1e0 chore: Release 2021-08-30 09:16:40 -05:00
Ed Page
ce6b9b9516 chore: Release 2021-08-20 12:16:11 -05:00
Ed Page
c5028ded31 chore: Release 2021-08-06 09:03:52 -05:00
Ed Page
936ec335a5 chore: Release 2021-08-04 08:47:54 -05:00
Ed Page
acf5fd331b chore: Release 2021-08-02 09:58:00 -05:00
Ed Page
2dce866937 chore: Release 2021-08-02 09:55:25 -05:00
Ed Page
11a8c50c67
Merge pull request #321 from crate-ci/dependabot/cargo/env_logger-0.9.0
chore(deps): Bump env_logger from 0.8.4 to 0.9.0
2021-08-02 08:28:36 -05:00
Ed Page
e2bcf10dd8
Merge pull request #323 from crate-ci/dependabot/cargo/assert_cmd-1.0.8
chore(deps): Bump assert_cmd from 1.0.7 to 1.0.8
2021-08-02 08:28:09 -05:00
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