29 Commits

Author SHA1 Message Date
Ivan Molodetskikh
e551d8ed97 Bump version to 0.9.2 2025-03-14 12:41:49 +03:00
dependabot[bot]
85d47ef095 Bump the rust-dependencies group with 2 updates
Bumps the rust-dependencies group with 2 updates: [thiserror](https://github.com/dtolnay/thiserror) and [anyhow](https://github.com/dtolnay/anyhow).


Updates `thiserror` from 2.0.11 to 2.0.12
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/2.0.11...2.0.12)

Updates `anyhow` from 1.0.96 to 1.0.97
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.96...1.0.97)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-03 03:35:01 -08:00
Ivan Molodetskikh
c39680f1c2 Upgrade dependencies 2025-02-25 08:58:09 +03:00
Ivan Molodetskikh
3370aeaa51 Bump version to 0.9.1 2024-10-06 09:56:20 +03:00
Ivan Molodetskikh
debfcb71fd Upgrade dependencies 2024-10-06 09:47:37 +03:00
Donovan Glover
900202b232 feat: add man pages and shell completions
Auto-generated with clap.
2024-08-01 10:17:48 +03:00
Donovan Glover
08d1634aff refactor: move clap structs into separate files
Lets us avoid unnecessary build dependencies.
2024-08-01 10:17:48 +03:00
Donovan Glover
0521c53640 fix(wl-paste): make conflicts_with work properly 2024-08-01 10:17:48 +03:00
Ivan Molodetskikh
61d7b10b0e Bump version to 0.9.0 2024-06-19 18:10:35 +03:00
Ivan Molodetskikh
5b068afbaf Upgrade dependencies 2024-06-19 18:09:48 +03:00
Ivan Molodetskikh
e72558eba4 Replace structopt with clap 2024-03-07 13:54:34 +04:00
Ivan Molodetskikh
e81562a06b Replace nix with rustix 2024-03-07 13:22:47 +04:00
Ivan Molodetskikh
cc4364e0e0 Use workspace fields and dependencies 2024-03-07 10:26:49 +04:00
Ivan Molodetskikh
1e24432a1f Bump version to 0.8.1 2024-03-07 10:05:46 +04:00
Ivan Molodetskikh
313c0b8437 Upgrade depencendies 2024-03-07 09:59:30 +04:00
Ivan Molodetskikh
10b35fb269 Upgrade dependencies 2024-02-12 14:05:40 +04:00
Ivan Molodetskikh
3e4530aa61 Bump edition to 2021 2023-10-02 21:02:58 +04:00
Ivan Molodetskikh
4d113eb617 Update dependencies 2023-10-02 20:47:43 +04:00
Ivan Molodetskikh
71b6df79ff Rewrite for wayland-rs 0.30
wayland-rs 0.30 is a major API redesign. This commit ports
wl-clipboard-rs to use it. As a bonus, it fixes
https://github.com/YaLTeR/wl-clipboard-rs/issues/1: the tests are now
fully robust†. As an extra bonus, it adds several randomized
property-based tests.

Since this is a pretty major rewrite, I also took this opportunity to
move to a more standard rustfmt config (Block indent style, default max
width).

Resolves https://github.com/YaLTeR/wl-clipboard-rs/issues/36.

†: the tests can currently fail due to a race condition in wayland-rs,
which will be automatically fixed when
https://github.com/Smithay/wayland-rs/pull/632 is merged.
2023-06-24 00:25:26 +04:00
Ivan Molodetskikh
0da33c6a07 Bump version to 0.8.0 2023-06-24 00:11:53 +04:00
Ivan Molodetskikh
5a44ff577a Update non-wayland dependencies 2023-06-13 18:01:00 -07:00
Ivan Molodetskikh
e87a04d531 Bump version to 0.7.0 2022-09-23 19:03:15 -07:00
Marijn Suijten
777924d536 Bump nix dependency to 0.24
Even though `nix 0.25` is already out, all Wayland crates are still on
`0.24` and having `wl-clipboard-rs` match saves duplicate dependencies:

    $ cargo tree -i nix
    nix v0.24.2
    ├── wayland-client v0.29.5
    │   ├── wayland-protocols v0.29.5
    │   │   └── wl-clipboard-rs v0.6.0 (./wl-clipboard-rs)
    │   │   [dev-dependencies]
    │   │   └── wl-clipboard-rs v0.6.0 (./wl-clipboard-rs)
    │   └── wl-clipboard-rs v0.6.0 (./wl-clipboard-rs)
    ├── wayland-commons v0.29.5
    │   ├── wayland-client v0.29.5 (*)
    │   ├── wayland-protocols v0.29.5 (*)
    │   └── wayland-server v0.29.5
    │       └── wayland-protocols v0.29.5 (*)
    │       [dev-dependencies]
    │       └── wl-clipboard-rs v0.6.0 (./wl-clipboard-rs)
    ├── wayland-server v0.29.5 (*)
    └── wl-clipboard-rs v0.6.0 (./wl-clipboard-rs)
2022-09-20 21:10:23 -07:00
Marijn Suijten
dbe5133f5f Demote debug logs from info to trace
Info is a tad too verbose for debug log messages; prevent having to
filter them out by the end user in a typical `log` setup by turning all
debug messages into `trace!` logs.
2022-09-20 21:10:06 -07:00
Ivan Molodetskikh
6af0e95548 Bump version to 0.6.0 2022-03-20 12:14:09 +03:00
Ivan Molodetskikh
a37f4e58b7 tools: Add README and required Cargo.toml fields 2022-03-20 12:09:52 +03:00
Ivan Molodetskikh
6ad53edcef tools: Replace stdin/out with /dev/null on fork
Mirrors the fix from
aa4633b894.

Fixes the hang of a pipeline like `wl-copy hello | cat`.
2022-03-20 12:03:00 +03:00
Ivan Molodetskikh
2d85e0bbac tools: Upgrade dependencies 2022-03-20 12:03:00 +03:00
Ivan Molodetskikh
4336d9a731 Rename wl-clipboard-tools to wl-clipboard-rs-tools
Prepare for publication as a separate crate.
2022-03-20 12:03:00 +03:00