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