mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00

Previously, LibSecretCredential was created multiple times and with it libsecret was loaded and unloaded multiple times, leading to issues where calls could run indefinitely due to glib not properly cleaning up. Now, LibSecretCredential is stored in a OnceLock, ensuring it is only created once, preventing unnecessary unload/reload cycles of libsecret.
Cargo Credential Packages
This directory contains Cargo packages for handling storage of tokens in a secure manner.
cargo-credential
is a generic library to assist writing a credential
process. The other directories contain implementations that integrate with
specific credential systems.