Mercurial > crates > nonstick
view Cargo.toml @ 59:3f4a77aa88be
Fix string copyting and improve error situation.
This change is too big and includes several things:
- Fix copying strings from PAM by fixing const and mut on pam funcs.
- Improve error enums by simplifying conversions and removing
unnecessary and ambiguous "success" variants.
- Make a bunch of casts nicer.
- Assorted other cleanup.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Wed, 21 May 2025 00:27:18 -0400 |
parents | 2a5c83d04b93 |
children | 5eecd797fc69 |
line wrap: on
line source
[package] name = "nonstick" description = "PAM bindings for Rust" version = "0.0.4" authors = ["Paul Fisher <paul@pfish.zone>", "Anthony Nowell <anowell@gmail.com>" ] repository = "https://hg.pfish.zone/crates/nonstick/" readme = "README.md" keywords = ["pam", "ffi", "linux", "authentication"] license = "MIT" edition = "2021" [dependencies] bitflags = "2.9.0" libc = "0.2.97" num-derive = "0.4.2" num-traits = "0.2.19" secure-string = "0.3.0" thiserror = "2.0.12"