Skip to content

Commit

Permalink
remove users crate
Browse files Browse the repository at this point in the history
  • Loading branch information
sectordistrict committed Nov 7, 2024
1 parent ee326c9 commit d222f5f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "intentrace"
version = "0.2.3"
version = "0.2.4"
description = "intentrace is strace with intent, it goes all the way for you instead of half the way."
edition = "2021"
license = "MIT"
Expand All @@ -21,7 +21,7 @@ procfs = "0.16.0"
rustix = { version = "0.38.35", features = ["mm", "net", "rand"] }
syscalls = "0.6.18"
tabled = "0.16.0"
users = "0.11.0"
uzers = "0.12.1"

[profile.release]
lto = true
8 changes: 4 additions & 4 deletions src/one_line_formatter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ impl SyscallObject {
}
}
Sysno::chown => {
use users::{Groups, Users, UsersCache};
use uzers::{Groups, Users, UsersCache};
let mut cache = UsersCache::new();
let owner_given = self.args[1] as i32;
let group_given = self.args[2] as i32;
Expand Down Expand Up @@ -624,7 +624,7 @@ impl SyscallObject {
}
}
Sysno::fchown => {
use users::{Groups, Users, UsersCache};
use uzers::{Groups, Users, UsersCache};
let mut cache = UsersCache::new();
let owner_given = self.args[1] as i32;
let group_given = self.args[2] as i32;
Expand Down Expand Up @@ -674,7 +674,7 @@ impl SyscallObject {
}
}
Sysno::lchown => {
use users::{Groups, Users, UsersCache};
use uzers::{Groups, Users, UsersCache};
let mut cache = UsersCache::new();
let owner_given = self.args[1] as i32;
let group_given = self.args[2] as i32;
Expand Down Expand Up @@ -723,7 +723,7 @@ impl SyscallObject {
}
}
Sysno::fchownat => {
use users::{Groups, Users, UsersCache};
use uzers::{Groups, Users, UsersCache};
let mut cache = UsersCache::new();
let owner_given = self.args[2] as i32;
let group_given = self.args[3] as i32;
Expand Down

0 comments on commit d222f5f

Please sign in to comment.