All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
1.0.0-alpha5 - 2023-11-01
- Blocklist
__gnuc_va_list
to fix build on some Linux systems - Bump
bindgen
to0.68
and disable default features to reduce dependency footprint (credits to @zombiepigdragon)
1.0.0-alpha4 - 2022-01-19
- Explicitly include
security/openpam.h
on FreeBSD - Add CI for FreeBSD via cirrus-ci
- Slightly optimize
include
setting inCargo.toml
- Split up platform-specific adaptions in
build.rs
to handle FreeBSD/NetBSD with OpenPAM - Bump bindgen to 0.59 (and switch from deprecated functions)
1.0.0-alpha3 - 2021-03-28
- Depend on
bindgen
^0.55 to force macro constants to be generated as signed integers - Don't derive
Copy
forPamHandle
1.0.0-alpha2 - 2020-05-03
- Pin
bindgen
version for now to avoid accidental changes in the bindings - Move CI to azure pipelines (and remove
.travis.yml
)
- Remove module functions
pam_sm_*
as these are not supposed to be called but rather implemented by modules
1.0.0-alpha1 - 2019-11-12
- Complete rewrite based on
bindgen
- Only expose raw APIs as is convention
- Easier multi-platform handling
- Update to rust edition 2018
- Update
libc
dependency (0.2.39 -> ^0.2) - Fix
clippy
lints
0.5.6 - 2018-07-04
- Fixed NULL pointer usage in wrapped::get_env function when pam_getenv fails
0.5.5 - 2018-03-21
- Implement
pam_get_user
- Added
cache: cargo
directive to speedup CI - Updated
libc
dependency (0.2.33 -> 0.2.39)
0.5.4 - 2017-11-30
- Only provide official support for Rust stable, beta and nightly (mainly through travis)
- Updated
libc
dependency (0.2.20 -> 0.2.33)
- Only link
pam_misc
on Linux
0.5.3 - 2017-02-18
- Fixed
readonly
flag inpam_misc_setenv
- Added some
null
checks for somewrapped
functions
0.5.2 - 2017-02-18
- Fixed missing link argument to
pam_misc
0.5.1 - 2017-02-17
- Fixed compilation failure on Rust 1.4.0
- Fixed wrong category
0.5.0 - 2017-02-17
- Added travis-ci badge to
Cargo.toml
- Added categories to
Cargo.toml
- Changed
raw::pam_getenvlist
's return type back to*const *const c_char
- Made
wrapped
functions safe and changed arguments to use better types
- Fixed
raw::pam_misc_dropenv
andwrapped::misc_dropenv
's return type
0.4.3 - 2017-01-20
- Added license badge to
README.md
- Updated
libc
dependency (0.2.9 -> 0.2.20) - Moved documentation to docs.rs
- Removed obsolete dependencies (
gcc
&pkg-config
) - Removed
.travis-update-gh-pages.sh
and obsolete rust versions from.travis.yml
0.4.1 - 2016-04-11
- Relicense under MIT/Apache-2.0
0.4.0 - 2016-04-11
- Better travis-ci integration
- Test on 1.4.0-1.6.0, stable, beta and nightly
- Use containers for faster builds
- Updated
libc
dependency (0.2.2 -> 0.2.9) - Changed wrapped/{strerror, getenv} to return
Option<&'static str>
instead of*const c_char
0.3.0 - 2015-12-08
- CHANGELOG.md
- Updated
libc
dependency (0.1.8 -> 0.2.2) - PamHandle from empty struct to zero variant enum (as recommended in the Rust Book)