Mercurial > crates > nonstick
view README.md @ 12:30831c70e5c0
Remove PhantomData usage.
PhantomData is used through the library to substitute associated
constants (to types). However, calling
`PamItem::item_type(PhantomData<T>)` can easily be substituted by
calling `T::item_type()`, getting rid of the need for PhantomData.
author | Marc Brinkmann <git@marcbrinkmann.de> |
---|---|
date | Sun, 26 Feb 2017 12:12:36 +0100 |
parents | a5cc18a3db47 |
children |
line wrap: on
line source
rust-pam ======== Rust interface to the pluggable authentication module framework (PAM). The goal of this library is to provide a type-safe API that can be used to interact with PAM. The library is incomplete - currently it supports a subset of functions for use in a pam authentication module. A pam module is a shared library that is invoked to authenticate a user, or to perform other functions. For more information, see the [package documentation][doc]. [doc]: https://tozny.github.io/rust-pam/pam/