waycrate / wayshot

Mirrored at https://git.sr.ht/~shinyzenith/wayshot | screenshot tool for wlroots based compositors implementing zwlr_screencopy_v1
https://crates.io/crates/wayshot
BSD 2-Clause "Simplified" License
114 stars 20 forks source link

Replace nix with rustix #120

Closed Gigas002 closed 3 months ago

Gigas002 commented 4 months ago

As title says, this PR proposes replacement of nix crate with rustix. Currently, the only package dependent on nix is a wl-clipboard-rs, and it's moving from nix to rustix as well in upcoming update to match the wayland-rs: https://github.com/YaLTeR/wl-clipboard-rs/commit/e81562a06b4c4879bd14524c86c866654a17e4b2 This change simplifies dependency tree for a bit and the migration is pretty straightforward. If there's any downsides I'm not aware of these.

Shinyzenith commented 3 months ago

Thank you for your contribution!