alpha
Login
or
Join now
isaaccorbrey.com
/
pareidolia
Star
2
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
A facial recognition login service for Linux.
Star
2
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
pareidolia
/
crates
/
daemon
/
src
/
at
main
2 files
Isaac Corbrey
errors: Adopt thiserror for typed error enums
7w ago
52e0186b
lib.rs
errors: Adopt thiserror for typed error enums Hand-rolling `Display` and `Error` impls on error enums is fine for the current empty placeholders but doesn't scale: every new variant means maintaining two more impl blocks by hand and keeping their format strings in sync with the variant data. Adding `thiserror` once at the workspace level lets every error enum from here on use `#[derive(thiserror::Error)]` with declarative `#[error("...")]` annotations, and `#[from]` for the inevitable conversion impls.
1 month ago
main.rs
daemon: Add pareidoliad crate The daemon is the long-running process that owns the camera and keeps the ML models warm so PAM auth requests don't pay model-load cost per attempt. Exposing logic via a library target (with `main.rs` as a thin wrapper) lets integration tests drive the daemon in-process without spawning subprocesses or going through real socket I/O.
1 month ago