Mercurial > crates > nonstick
view .hgtags @ 56:daa2cde64601
Big big refactor. Probably should have been multiple changes.
- Makes FFI safer by explicitly specifying c_int in calls.
- Uses ToPrimitive/FromPrimitive to make this easier.
- Pulls PamFlag variables into a bitflags! struct.
- Pulls PamMessageStyle variables into an enum.
- Renames ResultCode to ErrorCode.
- Switches from PAM_SUCCESS to using a Result<(), ErrorCode>.
- Uses thiserror to make ErrorCode into an Error.
- Gets rid of pam_try! because now we have Results.
- Expands some names (e.g. Conv to Conversation).
- Adds more doc comments.
- Returns passwords as a SecureString, to avoid unnecessarily
keeping it around in memory.
| author | Paul Fisher <paul@pfish.zone> |
|---|---|
| date | Sun, 04 May 2025 02:56:55 -0400 |
| parents | 0f1dcf5607e0 |
| children | 868a278a362c |
line wrap: on
line source
350579171e1ff1cef0f1ec1d649cb6df29218952 v0.0.1 bc5e18fa9c7a661b70bc73bdca3520a16cb2ebbc v0.0.2 52f1102e0715e92afeda3c3d859c1cb94a23c4d5 v0.0.3
