#api #bsd #api-bindings

login_cap

Rust API for OpenBSD's login_cap

2 releases

0.0.2 Jul 22, 2021
0.0.1 Jul 19, 2021

#23 in #bsd


Used in dosu

BSD-4-Clause

24KB
285 lines

High-level Rust API for OpenBSD's login_cap authentication library

Used to query the login.conf(5) database about a user class, and set user resources.

See documentation and examples for library usage, and login_getclass(3) for details about the underlying C library.

Dependencies

~1.5MB
~36K SLoC