use nix crate instead of libc

Provides a higher level and lighter alternative.
This commit is contained in:
raf 2024-08-03 20:56:02 +03:00
commit aae5f71004
Signed by: NotAShelf
GPG key ID: AF26552424E53993
4 changed files with 48 additions and 42 deletions

View file

@ -5,7 +5,7 @@ edition = "2021"
[dependencies]
libc = "0.2"
fs_extra = "1.2"
nix = {version = "0.29", features = ["fs"]}
color-eyre = { version = "0.6", default-features = false }