summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
AgeCommit message (Collapse)Author
2023-06-02Bump version0.16.3Dan Davison
2023-06-02Bump versions0.16.2Dan Davison
2023-06-02Bump version0.16.1Dan Davison
2023-06-02Bump version0.16.0Dan Davison
2023-04-26Replace deprecated `error_chain` crate with `anyhow` (#1405)nickelc
The `error_chain` crate is now deprecated for a long time and `anyhow` has proven to be a popular replacement for applications. This also improves the current error messages for panics. ``` PAGER='"less' git show thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: \ Error(Msg("Could not parse pager command."), State { next_error: Some(ParseError), \ backtrace: InternalBacktrace })', src/main.rs:136:88 ``` ``` PAGER='"less' git show thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Could not parse pager command. Caused by: missing closing quote', src/main.rs:125:88 ```
2023-04-26Downgrade and pin the `bytelines` crate (#1378)nickelc
The versions 2.3+ added support for Tokio's `AsyncBufRead` trait and futures' `Stream` trait without making the new dependencies optional. By downgrading `bytelines`, the compilation time can be reduced. ``` $ cargo up -p bytelines --precise 2.2.2 Updating bytelines v2.4.0 -> v2.2.2 Removing bytes v1.4.0 Removing futures v0.3.26 Removing futures-channel v0.3.26 Removing futures-core v0.3.26 Removing futures-executor v0.3.26 Removing futures-io v0.3.26 Removing futures-macro v0.3.26 Removing futures-sink v0.3.26 Removing futures-task v0.3.26 Removing futures-util v0.3.26 Removing pin-project-lite v0.2.9 Removing pin-utils v0.1.0 Removing slab v0.4.8 Removing tokio v1.26.0 ```
2023-04-26Update `bitflags` to 2.2.1 (#1361)nickelc
The `Clone`, `Copy`, `Debug` and `PartialEq` traits are no longer derived automatically by the macro.
2023-03-05Update dependencies & switch back to the `dirs` crate (#1325)nickelc
* Update direct dependencies * Update transient dependencies * Switch back to `dirs` crate The `dirs`/`dirs-sys` repositories are unarchived and the crates are maintained again, while `dirs-next` crates aren't.
2023-03-03Update `clap` to 4.1 (#1322)nickelc
* Update to clap 4 * Add help, usage, error-context features to clap * Add wrap_help clap feature * Remove DeriveDisplayOrder as it is now default * Update ValueSource using statement * Update #[clap(...)] to #[command(...)] * Update #[clap(...)] to #[arg(...)] * Update #[structopt(...)] to #[arg(...)] * Remove value_parser because it is now default * Return option & argument names as `String` due to lifetime issues * Remove leading hyphens from arguments long definition Leading hyphens are no longer accepted. * Argument names are derived from field names and `snake_case` * `help` & `version` are no longer added automatically * Update `clap` to 4.1.8 --------- Co-authored-by: tjquillan <tjquillan@gmail.com>
2023-03-03Update `git2` to 0.16.1 (#1323)nickelc
2022-12-03Bump version0.15.1Dan Davison
2022-12-03Bump version0.15.0Dan Davison
2022-09-13Switch bat to library mode (#1187)Marcin Puc
2022-08-31Bump version0.14.0Dan Davison
2022-07-05Revert "Bump git2 from 0.14.2 to 0.14.4 (#1085)"Dan Davison
This reverts commit 511d501d5e50ced37c74b3b84ee4d46a3a8f8bd5.
2022-07-04Update clap (#1119)Dan Davison
2022-07-04Bump itertools from 0.10.1 to 0.10.3 (#835)dependabot[bot]
Bumps [itertools](https://github.com/rust-itertools/itertools) from 0.10.1 to 0.10.3. - [Release notes](https://github.com/rust-itertools/itertools/releases) - [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-itertools/itertools/compare/v0.10.1...v0.10.3) --- updated-dependencies: - dependency-name: itertools 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>
2022-07-04Bump serde_json from 1.0.70 to 1.0.82 (#1115)dependabot[bot]
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.70 to 1.0.82. - [Release notes](https://github.com/serde-rs/json/releases) - [Commits](https://github.com/serde-rs/json/compare/v1.0.70...v1.0.82) --- updated-dependencies: - dependency-name: serde_json 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>
2022-07-04Bump git2 from 0.14.2 to 0.14.4 (#1085)dependabot[bot]
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.14.2 to 0.14.4. - [Release notes](https://github.com/rust-lang/git2-rs/releases) - [Commits](https://github.com/rust-lang/git2-rs/compare/0.14.2...0.14.4) --- updated-dependencies: - dependency-name: git2 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>
2022-07-04Bump smol_str from 0.1.21 to 0.1.23 (#1058)dependabot[bot]
Bumps [smol_str](https://github.com/rust-analyzer/smol_str) from 0.1.21 to 0.1.23. - [Release notes](https://github.com/rust-analyzer/smol_str/releases) - [Commits](https://github.com/rust-analyzer/smol_str/compare/v0.1.21...v0.1.23) --- updated-dependencies: - dependency-name: smol_str 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>
2022-07-04Bump ctrlc from 3.2.1 to 3.2.2 (#1055)dependabot[bot]
Bumps [ctrlc](https://github.com/Detegr/rust-ctrlc) from 3.2.1 to 3.2.2. - [Release notes](https://github.com/Detegr/rust-ctrlc/releases) - [Commits](https://github.com/Detegr/rust-ctrlc/compare/3.2.1...3.2.2) --- updated-dependencies: - dependency-name: ctrlc 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>
2022-07-04Bump sysinfo from 0.23.0 to 0.24.5 (#1108)dependabot[bot]
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.23.0 to 0.24.5. - [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases) - [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md) - [Commits](https://github.com/GuillaumeGomez/sysinfo/commits) --- updated-dependencies: - dependency-name: sysinfo 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>
2022-07-04Bump bytelines from 2.2.2 to 2.4.0 (#1034)dependabot[bot]
Bumps [bytelines](https://github.com/whitfin/bytelines) from 2.2.2 to 2.4.0. - [Release notes](https://github.com/whitfin/bytelines/releases) - [Commits](https://github.com/whitfin/bytelines/compare/v2.2.2...v2.4.0) --- updated-dependencies: - dependency-name: bytelines 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>
2022-05-13Bump version0.13.0Dan Davison
2022-05-13Update bat, git2, and syntectDan Davison
2022-04-01Bump versionDan Davison
2022-03-30Add custom env struct to store env at init (#1025)William Escande
This allow to no longer ignore some tests (marked previously as FIXME) by storing the env at the start of the program (Or creating a custom env for test purpose) This centralize almost alls calls to std::env inside one wrapper Add a test profile to increase speed for testing (5min -> 20sec on my machine) clean a few code style like this: ``` if Some(value) = ... if value ``` to ``` if Some(true) = ... ``` Co-authored-by: William Escande <wescande@google.com>
2022-03-16Bump regex to fix CVE-2022-24713Martin Sirringhaus
2022-03-08Bump unicode-segmentation from 1.8.0 to 1.9.0dependabot[bot]
Bumps [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation) from 1.8.0 to 1.9.0. - [Release notes](https://github.com/unicode-rs/unicode-segmentation/releases) - [Commits](https://github.com/unicode-rs/unicode-segmentation/commits) --- updated-dependencies: - dependency-name: unicode-segmentation dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-03-06Bump git2 from 0.13.23 to 0.14.0dependabot[bot]
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.23 to 0.14.0. - [Release notes](https://github.com/rust-lang/git2-rs/releases) - [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.23...git2-curl-0.14.0) --- updated-dependencies: - dependency-name: git2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-03-06Bump xdg from 2.4.0 to 2.4.1dependabot[bot]
Bumps [xdg](https://github.com/whitequark/rust-xdg) from 2.4.0 to 2.4.1. - [Release notes](https://github.com/whitequark/rust-xdg/releases) - [Commits](https://github.com/whitequark/rust-xdg/compare/v2.4.0...v2.4.1) --- updated-dependencies: - dependency-name: xdg dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-03-06Bump version0.12.1Dan Davison
2022-02-27Use assets API from bat library instead of vendored code (#903)Dan Davison
Use assets API from bat library Fixes #895 Ref https://github.com/sharkdp/bat/issues/2026 Thanks @Enselic
2022-01-25Update sysinfo version to 0.23Guillaume Gomez
2022-01-22Bump versionDan Davison
2022-01-17Bump clap from 3.0.5 to 3.0.7dependabot[bot]
Bumps [clap](https://github.com/clap-rs/clap) from 3.0.5 to 3.0.7. - [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/v3.0.5...v3.0.7) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-01-15structopt to clap (#889)Dan Davison
Replace structopt with clap Fixes #888 * Drop tests of deprecated options They were failing
2022-01-03Disable /proc fd caching on Linux when querying processesThomas Otto
This query only happens once, so caching is not needed Also update sysinfo version to fix a crash related to this.
2021-12-20Bump sysinfo from 0.22.2 to 0.22.3 (#862)dependabot[bot]
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.22.2 to 0.22.3. - [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases) - [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md) - [Commits](https://github.com/GuillaumeGomez/sysinfo/commits) --- updated-dependencies: - dependency-name: sysinfo 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>
2021-12-15Bump version0.11.3Dan Davison
2021-12-15Update sysinfo to released versionDan Davison
Ref #839
2021-12-11Fix specification of git revision in Cargo.toml dependencyDan Davison
Ref #845
2021-12-11Do not query CPU data when querying process data (#845)Dan Davison
* Do not query CPU data when querying process data Fixes #839 Ref https://github.com/GuillaumeGomez/sysinfo/issues/632 * Update branch of sysinfo * Update upstream sysinfo commit Ref https://github.com/GuillaumeGomez/sysinfo/pull/636 * Point sysinfo at an explicit commit rather than a symbolic branch name commit d647acfbf216848a8237e1f9251b2c48860a547f Merge: 989ac6c 67a586c Author: Guillaume Gomez <guillaume1.gomez@gmail.com> Date: 2 hours ago Merge pull request #636 from GuillaumeGomez/update-if-needed Only update processors if needed
2021-12-11Query fewer processes when searching for the parentThomas Otto
This query now happens for more invocation types, so speed it up. Call `refresh_process()` only on pids numerically close to the one of delta itself.
2021-12-08Bump sysinfo from 0.19.2 to 0.20.5dependabot[bot]
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.19.2 to 0.20.5. - [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases) - [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md) - [Commits](https://github.com/GuillaumeGomez/sysinfo/commits) --- updated-dependencies: - dependency-name: sysinfo dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2021-12-07Bump version0.11.2Dan Davison
2021-12-06Bump version0.11.1Dan Davison
2021-12-05Bump versionDan Davison
2021-11-28Bump versionDan Davison
2021-11-27Bump version0.10.2Dan Davison