#bsd

bsd_auth

Rust API for OpenBSD's bsd_auth

9 unstable releases (3 breaking)

0.3.1 Jul 24, 2021
0.3.0 Jul 23, 2021
0.2.2 Jul 22, 2021
0.1.0 Jul 19, 2021
0.0.3 Jul 19, 2021

#737 in Authentication


Used in dosu

BSD-2-Clause

26KB
333 lines

Rust idiomatic API for OpenBSD's authentication library

Requirements

  • libclang.so (clang development library)
  • Rust 1.51+

Building the crate requires bindings to authentication functions in OpenBSD's libc.

Building

The low-level crate bsd_auth-sys includes the necessary bindings for the authentication API.

If the clang development libaries aren't present on your OpenBSD system, you will need to compile clang from source, install the libaries, and create a symbolic link to libclang.so.* at /usr/lib/libclang.so.

Dependencies

~65KB