Blair Noctis
2d287b9b1c
Overall reorganization ( #265 )
...
* refactor!: overall reorganization
* fmt: tab to spaces
* feat: split out funcs for better error collection
* feat: replace Vec-varianted Source with Vec<Source>
* docs: more generic description for Error::InvalidPath
* fmt: reduce signature verbosity
* internal: decolorize to prepare for proper colorization
* fmt: tab to spaces (again)
* refactor: break up App into main.rs, rm utils.rs
* test: only run cli::in_place_following_symlink on Unix, symlinks are privileged on Windows
* test: update insta snapshots due to Replacer::new()? in main()
* fix: restructure logic, Windows requires closing mmap before write
* test: properly mark no-Windows test
* test: properly mark temp. ignored test
* fix: retain unsafe property of Mmap::map in separate function
* chore: `cargo fmt`
* chore: Resolve lone warning
* test: Test a variety of fs failure cases
* refactor: Add back `try_main()`
* refactor: Rework error handling
* test: Update snapshots
* test: fix path inconsistency
---------
Co-authored-by: Cosmic Horror <CosmicHorrorDev@pm.me>
2023-11-18 14:04:31 -06:00
CosmicHorror
eb51bdf11e
Prepare 1.0.0 release ( #277 )
...
* Bump version to v1.0.0
* `cargo xtask gen`
* Add all new entries to the changelog
2023-11-07 20:19:46 -06:00
CosmicHorror
cb015f7490
Update sd
version in lockfile ( #275 )
2023-11-05 13:16:09 -06:00
CosmicHorror
79f5de0db7
Temporarily remove recursive (-r
) flag ( #266 )
...
* Remove recursive (`-r`) flag
* `cargo xtask gen`
* Remove unused `globwalk` and `ignore` deps
2023-11-02 17:35:39 -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
4a54433860
Update deps ( #251 )
...
* `cargo update`
* `cargo upgrade`
* `cargo upgrade --incompatible -p memmap2`
2023-10-21 11:14:04 -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
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
Blair Noctis
4ed733834f
docs: use clap_mangen and roff to generate manpage ( #231 )
2023-10-02 17:44:47 -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]
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
Yousif Akbar
273fe7418d
Dependency updates ( #209 )
...
* Upgrading Cargo files
* Adding dependabot.yml file
2023-08-21 18:18:54 -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
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
f52e96e8ec
memmap
-> memmap2
(#183 )
2023-05-08 20:56:51 -05:00
CosmicHorror
14307b9d09
cargo update
(#182 )
2023-05-08 20:56:36 -05:00
Gregory
29dd367971
Implement recursive replacement support
2021-05-02 19:03:48 -04:00
Gregory
66ed9ff904
Misc
2021-02-28 23:46:49 -05:00
Gregory
495fa3ea9c
Implement recursive glob support
...
#62
2021-02-10 21:49:38 -05:00
Gregory
977f2cb8a1
(cargo-release) version 0.7.6
2020-07-31 22:53:12 -04:00
Gregory
b1be54e418
Bump deps
2020-07-31 22:51:05 -04:00
Gregory
60684510eb
(cargo-release) version 0.7.5
2020-05-04 14:54:22 -04:00
Gregory
1014135f0e
Add empty-file check for memmep use in stdout
...
resolves #76
2020-05-04 14:42:30 -04:00
Greg
c1f6242c79
(cargo-release) version 0.7.4
2020-04-22 16:54:40 -04:00
Greg
4a57005959
Update cargo.toml + lock
2020-04-11 15:14:15 -04:00
Greg
fd55fa0982
(cargo-release) version 0.7.2
2020-03-31 15:47:45 -04:00
Greg
9232a72a85
(cargo-release) version 0.7.1
2020-03-29 16:56:56 -04:00
Greg
99742b9d4d
(cargo-release) version 0.7.0
2020-03-29 16:42:06 -04:00
Greg
cf8a00cdda
Upgrade dependencies
2020-03-29 16:41:07 -04:00
Greg
1532f800c8
Misc cleanup
2020-03-29 16:37:24 -04:00
Greg
0cfe1b766c
Upgrade dependencies
2020-02-24 11:12:23 -05:00
Greg
5f8b36596b
Upgrade dependencies
2020-02-11 20:57:26 -05:00
Greg
6b2291a1b3
Add missing test dependency
2020-01-26 16:44:16 -05:00
Greg
87491b4dc9
Let ^$ match lines by default
...
resolves #60
2020-01-25 16:36:41 -05:00
Greg
c0fd12ab52
Bump deps
2019-12-30 16:13:19 -05:00
Greg
c5cca8ce50
Attempt to fix test on windows
2019-12-17 00:19:07 -05:00
Greg
b13315bdbd
Upgrade dependencies
2019-12-09 13:59:58 -05:00
Greg
03a10c158a
Update and trim some deps
2019-11-18 23:12:03 -05:00
Greg
699eab6c27
Add cli testing
2019-11-17 14:28:43 -05:00
Greg
617a3ce533
Update dependencies
2019-11-17 12:33:08 -05:00