-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #12518 - arlosi:cred-dlopen, r=epage
cargo-credential-gnome-secret: dynamically load libsecret Building `cargo-credential-gnome-secret` currently requires the `libsecret` development libraries to be installed and findable via `pkg-config`. This is often an extra step for users and complicates CI builds. This loads the required functions from `libsecret` dynamically using `libloading` which uses `dlopen` internally. Closes #12503 Testing this requires manually installing the credential provider on a system with libsecret set up. I tested it on Arch Linux.
- Loading branch information
Showing
5 changed files
with
60 additions
and
36 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
[package] | ||
name = "cargo-credential-gnome-secret" | ||
version = "0.3.0" | ||
version = "0.3.1" | ||
edition.workspace = true | ||
license.workspace = true | ||
repository = "https://github.com/rust-lang/cargo" | ||
description = "A Cargo credential process that stores tokens with GNOME libsecret." | ||
|
||
[dependencies] | ||
anyhow.workspace = true | ||
cargo-credential.workspace = true | ||
libloading.workspace = true | ||
|
||
[build-dependencies] | ||
pkg-config.workspace = true |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters