arti/crates
Ian Jackson 5f46bacbb2 fs-mistruct: switch from users to pwd-grp
users is unmaintained.  pwd-grp is the crate I have just written to
replace it. In this commit:

Change the cargo dependency and imports.

Replace the cacheing arrangements.  users has a built-in cache;
pwd-grp doesn't.  Now, instead of cashing individual lookups, we cache
the trusted user and trusted gid calculation results.
This saves on some syscalls, and is also more convenient to write.
(Mocking is still done via the dependency.)

Many systematic consequential changes of details:

 * The entrypoint names to the library are different:
   pwd-grp uses the names of the corresponding Unix functions.

 * pwd-grp's returned structs are transparent, so we don't
   call accessors for .uid(), .name(), etc.

 * pwd-grp's methods are much more often fallible
   (returning io::Result<Option<...>)

 * We're using the non-UTF-8 pwd-grp API, which means we must
   use turbofish syntax in some places.

 * The mocking API is a bit different.
2023-07-14 16:02:45 +01:00
..
arti Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
arti-bench Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
arti-client arti-client: Log whether the client auth keys were retrieved. 2023-07-12 16:30:06 +01:00
arti-config Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
arti-hyper Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
arti-rpcserver Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
arti-testing Merge branch 'clippy-allow' into 'main' 2023-07-11 09:37:42 +00:00
caret Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
fs-mistrust fs-mistruct: switch from users to pwd-grp 2023-07-14 16:02:45 +01:00
retry-error Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
safelog Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
tor-async-utils Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
tor-basic-utils Merge branch 'clippy-allow' into 'main' 2023-07-11 09:37:42 +00:00
tor-bytes Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
tor-cell Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
tor-cert Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
tor-chanmgr Move an import to resolve a warning. 2023-07-13 12:33:01 -04:00
tor-checkable Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
tor-circmgr Merge branch 'clippy-allow' into 'main' 2023-07-11 09:37:42 +00:00
tor-config Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
tor-congestion Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
tor-consdiff Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
tor-dirclient Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
tor-dirmgr Merge branch 'clippy-allow' into 'main' 2023-07-11 09:37:42 +00:00
tor-error clippy: tor-error: Use convert::identity for into_internal! 2023-07-10 13:49:51 +01:00
tor-events Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
tor-geoip Add country codes to relays inside a NetDir 2023-07-13 17:47:00 +01:00
tor-guardmgr Merge branch 'bug638' into 'main' 2023-07-14 13:35:04 +00:00
tor-hsclient Merge branch 'clippy-allow' into 'main' 2023-07-11 09:37:42 +00:00
tor-hscrypto Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
tor-hsservice Add exceptions for some cases of diverging_sub_expression 2023-07-10 12:33:21 +01:00
tor-keymgr Merge branch 'clippy-allow' into 'main' 2023-07-11 09:37:42 +00:00
tor-linkspec Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
tor-llcrypto tor-llcrypto: Add a missing instance of the standard lint block 2023-07-10 13:49:51 +01:00
tor-netdir Add country codes to relays inside a NetDir 2023-07-13 17:47:00 +01:00
tor-netdoc Merge branch 'explain_952_fix' into 'main' 2023-07-11 09:53:09 +00:00
tor-persist Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
tor-proto tor-circmgr: Add two possibly-needed docsrs annotations 2023-07-12 15:32:26 +01:00
tor-protover Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
tor-ptmgr Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
tor-rpcbase Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
tor-rtcompat Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
tor-rtmock Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
tor-socksproto Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00
tor-units Run maint/add_warning to actually apply new lint allows 2023-07-10 13:49:51 +01:00