I've created the first alpha release of libkirmes, a Rust and C library which provides an API to access the systemd userdb.
It will be used in our localkdc project to enrich user information of a user in our kerberos database with information from the local userdb.