Commit graph

301 commits

Author SHA1 Message Date
CosmicHorror
e4e42a2d2d
Update the changelog (#264)
* Update the changelog

* Include the changelog in prebuilt releases

* Dig up older history for the changelog

* Make missing history note clearer
2023-11-01 20:57:04 -05:00
CosmicHorror
f2d19c127f
Update --preview help text (#263) 2023-11-01 17:31:54 -05:00
CosmicHorror
1ac5fbc551
Remove warning when using --preview on stdin input (#259) 2023-10-30 20:58:14 -05:00
CosmicHorror
a88673b18e
Error on $<num><non_num> capture replacement names (#258)
* Mostly working capture name validation

* Improve inputs for property tests

* Fix advancing when passing over escaped dollar signs

* Switch to inline snapshot captures

* Cleanup invalid capture error formatting code
2023-10-28 15:13:54 -05:00
CosmicHorror
a98100fb53
Fix copy-paste error (#257) 2023-10-23 20:50:41 -05:00
CosmicHorror
662c10b20d
More CI tweaks (#256)
* Make sure that MacOS ARM builds in CI

* Include man page and completions in prebuilt releases
2023-10-23 20:36:58 -05:00
CosmicHorror
d1fd7c684f
Use .exe for windows executable (#253) 2023-10-21 21:31:33 -05:00
CosmicHorror
20b1459a42
Actually use the build target intended for each CI job (#252) 2023-10-21 21:06:52 -05:00
CosmicHorror
4a54433860
Update deps (#251)
* `cargo update`

* `cargo upgrade`

* `cargo upgrade --incompatible -p memmap2`
2023-10-21 11:14:04 -05:00
CosmicHorror
64649bb7f2
Remove broken custom path separator flag (#250) 2023-10-21 10:27:10 -05:00
CosmicHorror
639d16fa3c
Switch CI from actions-rs to `dtolnay/rust-toolchain (#249) 2023-10-20 19:02:45 -05:00
CosmicHorror
d0fd7f6ac3
Misc Cargo.toml tweaks (#248)
* Move the `xtask` to edition 2021 too

* Dont rely on feature unification for clap

* Add `rust-version` to the `Cargo.toml`
2023-10-20 18:06:38 -05:00
Ardi
b542702820
Update to the 2021 edit (#245) 2023-10-20 12:43:39 -06:00
CosmicHorror
ff15408074
Exclude unsupported packages from the repology badge (#243) 2023-10-18 21:16:59 -05:00
dependabot[bot]
cce969694f
Bump rustix from 0.37.23 to 0.37.25 (#242)
Bumps [rustix](https://github.com/bytecodealliance/rustix) from 0.37.23 to 0.37.25.
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.37.23...v0.37.25)

---
updated-dependencies:
- dependency-name: rustix
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 16:45:17 -06:00
CosmicHorror
4dab4123e1
Update --string-mode references to --fixed-strings (#240) 2023-10-17 19:08:59 -05:00
Ardi
ad7bba5ba7
Add redundancy warning when passing --preview while reading from stdin (#239) 2023-10-16 18:00:20 -05:00
dependabot[bot]
efb8198a42
Bump clap_complete from 4.4.1 to 4.4.3 (#233)
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.4.1 to 4.4.3.
- [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/compare/clap_complete-v4.4.1...clap_complete-v4.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 18:01:45 -05:00
dependabot[bot]
dd93f4e270
Bump memmap2 from 0.7.1 to 0.8.0 (#229)
Bumps [memmap2](https://github.com/RazrFalcon/memmap2-rs) from 0.7.1 to 0.8.0.
- [Changelog](https://github.com/RazrFalcon/memmap2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RazrFalcon/memmap2-rs/compare/v0.7.1...v0.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 18:00:47 -05:00
dependabot[bot]
e1826671f3
Bump rayon from 1.7.0 to 1.8.0 (#228)
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.7.0 to 1.8.0.
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.7.0...rayon-core-v1.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-02 18:00:24 -05:00
CosmicHorror
4d9f8d8e4a
Tone down dependabot (#236) 2023-10-02 17:59:33 -05:00
CosmicHorror
6ee7e7ecd2
Update generated assets (#235) 2023-10-02 17:52:13 -05:00
Blair Noctis
4ed733834f
docs: use clap_mangen and roff to generate manpage (#231) 2023-10-02 17:44:47 -05:00
Vas Sudanagunta
05ee953299
Improve README readability (#227)
* README: fix formatting of numbered Quick Guide examples

* README: make The Pitch easier to read

- less clutter
- easier on the eyes.
- previous format looks less concise and more wordy even though it's the same.

* README: make Comparison to sed easier to read

- nix deeply nested list, which just adds clutter.
- make sure sed syntax is always lined up just below sd syntax for clear visual contrast

* README: make title look and read better
2023-10-02 17:38:21 -05:00
dependabot[bot]
3d7141477c
Bump clap_complete from 4.4.0 to 4.4.1 (#220)
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.4.0 to 4.4.1.
- [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/compare/clap_complete-v4.4.0...clap_complete-v4.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-23 22:02:40 -06:00
dependabot[bot]
febdfd3a2c
Bump actions/checkout from 3 to 4 (#221)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-23 21:57:51 -06:00
dependabot[bot]
7e7a4ebdda
Bump clap from 4.4.2 to 4.4.3 (#225)
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.2 to 4.4.3.
- [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/compare/v4.4.2...v4.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-23 21:57:11 -06:00
dependabot[bot]
8eb5ae9d99
Bump regex from 1.9.4 to 1.9.5 (#219)
Bumps [regex](https://github.com/rust-lang/regex) from 1.9.4 to 1.9.5.
- [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.9.4...1.9.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 08:55:59 -06:00
dependabot[bot]
d00dcba43e
Bump thiserror from 1.0.47 to 1.0.48 (#218)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.47 to 1.0.48.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.47...1.0.48)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 08:55:39 -06:00
dependabot[bot]
aa5227da50
Bump clap from 4.3.23 to 4.4.2 (#217)
Bumps [clap](https://github.com/clap-rs/clap) from 4.3.23 to 4.4.2.
- [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/compare/v4.3.23...v4.4.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-01 14:39:59 -06:00
dependabot[bot]
020787921a
Bump clap_complete from 4.3.2 to 4.4.0 (#215)
Bumps [clap_complete](https://github.com/clap-rs/clap) from 4.3.2 to 4.4.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/compare/clap_complete-v4.3.2...clap_complete-v4.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-01 14:35:36 -06:00
dependabot[bot]
12b037cfb1
Bump regex from 1.9.3 to 1.9.4 (#214)
Bumps [regex](https://github.com/rust-lang/regex) from 1.9.3 to 1.9.4.
- [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.9.3...1.9.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-01 14:35:27 -06:00
dependabot[bot]
8d8d740644
Bump memmap2 from 0.5.10 to 0.7.1 (#213)
Bumps [memmap2](https://github.com/RazrFalcon/memmap2-rs) from 0.5.10 to 0.7.1.
- [Changelog](https://github.com/RazrFalcon/memmap2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RazrFalcon/memmap2-rs/compare/v0.5.10...v0.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 19:19:51 -05:00
dependabot[bot]
c0de8badab
Bump assert_cmd from 1.0.8 to 2.0.12 (#212)
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd) from 1.0.8 to 2.0.12.
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v1.0.8...v2.0.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 19:11:09 -05:00
dependabot[bot]
3f2583a859
Bump svenstaro/upload-release-action from 1.pre.release to 2.7.0 (#211)
Bumps [svenstaro/upload-release-action](https://github.com/svenstaro/upload-release-action) from 1.pre.release to 2.7.0.
- [Release notes](https://github.com/svenstaro/upload-release-action/releases)
- [Changelog](https://github.com/svenstaro/upload-release-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svenstaro/upload-release-action/compare/v1-release...2.7.0)

---
updated-dependencies:
- dependency-name: svenstaro/upload-release-action
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 19:09:34 -05:00
dependabot[bot]
2113a8e1f7
Bump actions/checkout from 2 to 3 (#210)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 19:03:34 -05:00
Yousif Akbar
273fe7418d
Dependency updates (#209)
* Upgrading Cargo files

* Adding dependabot.yml file
2023-08-21 18:18:54 -05:00
Yousif Akbar
0c0907be13
Documenting $ escape (#207) 2023-08-20 11:43:27 -05:00
Yousif Akbar
a730b276d3
Adding Windows builds back (#206) 2023-08-20 11:42:08 -05:00
Yousif Akbar
5c56c830ff
Resolving broken aarch64-apple-darwin tests (#205)
* Resolving broken `aarch64-apple-darwin` tests

* Using cross for `aarch64-apple-darwin` test and publish workflows

* Reverting use of cross for `aarch64-apple-darwin` as there is no image
for that.

* Placing better explanation for why the `aarch64-apple-darwin` target is built, but not tested in CI
2023-08-20 11:41:16 -05:00
Yousif Akbar
4456de5fe3
Adding armv7-unknown-linux-gnueabihf target (#204) 2023-08-20 11:38:02 -05:00
CosmicHorror
43568a8229
Add a release checklist (#197) 2023-06-04 13:10:07 -05:00
CosmicHorror
c025993529
Move generating static assets to a cargo-xtask task (#196)
* Move generating static assets to a `cargo-xtask` task

* Generate static assets

* Remove now unused build dependencies

* Fix CI
2023-06-04 12:54:10 -05:00
Yousif Akbar
1d56bc897d
Build Adjustments (#179)
* Adding extra compile targets

* Moving symbol stripping to cargo release build instead of doing it manually after the fact

* Removing Windows builds

* aarch64-apple-darwin build works better without cross

* Re-introducing windows builds, but commenting it out to signal future work

* Commenting out failing `aarch64-apple-darwin` test

* Adding failing 'x86_64-pc-windows-msvc` test back in as a comment
2023-05-17 13:54:28 -05:00
CosmicHorror
b5768a7a4e
Rename --string-mode to --fixed-strings (#192)
* Rename `--string-mode` to `--fixed-strings`

* Clarify `--fixed-strings` help text
2023-05-16 20:25:29 -05:00
CosmicHorror
caf1244672
Change how all shell variants are expressed (#190) 2023-05-13 12:38:02 -05:00
CosmicHorror
ce7d602d9f
Replace structopt with clap v4 (#189)
* Replace `structopt` with `clap` v3

* Update clap to v4

* Wire up completions to use `clap`

* Add `.debug_assert()` test for CLI parser
2023-05-11 23:43:47 -05:00
CosmicHorror
c737e3f5eb
Switch atty for is-terminal (#188) 2023-05-11 22:40:47 -05:00
CosmicHorror
f2e63dfc56
Freshen up README (#187)
* Switch installation instructions to repology badge

* Format benchmark commands
2023-05-11 19:36:18 -05:00
CosmicHorror
27c217a43e
Improve error message for failed replacements (#186) 2023-05-11 00:53:57 -05:00