Registry / auth / git2-credentials

git2-credentials

JSON →
library0.15.0rscratesunverified

Provide credential function to use with git2::RemoteCallbacks.credentials.

# Cargo.toml [dependencies] git2_credentials = "0.15.0"
INSTALL
IMPORT
SIG · GIT2-CREDENTIALS
G
git2-credentials
authrustv0.15.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CredentialHandler
use git2_credentials::CredentialHandler;

Create a credential handler for git2.

use git2_credentials::CredentialHandler; fn main() { let handler = CredentialHandler::new("https://github.com"); println!("Credential handler created"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.15.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
Resources
git2-credentials — cargo add git2-credentials · libregistry