Mercurial > crates > nonstick
annotate 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 |
rev | line source |
---|---|
2 | 1 rust-pam |
2 ======== | |
3 | |
4 Rust interface to the pluggable authentication module framework (PAM). | |
5 | |
6 The goal of this library is to provide a type-safe API that can be used to | |
7 interact with PAM. The library is incomplete - currently it supports a subset | |
8 of functions for use in a pam authentication module. A pam module is a shared | |
9 library that is invoked to authenticate a user, or to perform other functions. | |
10 | |
5
a5cc18a3db47
Updates documentation link, bumps version number
Jesse Hallett <jesse@galois.com>
parents:
2
diff
changeset
|
11 For more information, see the [package documentation][doc]. |
2 | 12 |
5
a5cc18a3db47
Updates documentation link, bumps version number
Jesse Hallett <jesse@galois.com>
parents:
2
diff
changeset
|
13 [doc]: https://tozny.github.io/rust-pam/pam/ |