Registry / utility / git-hash

git-hash

JSON →
library0.10.3rscratesunverified

Please use gix-hash instead; this crate is deprecated.

# Cargo.toml [dependencies] git-hash = "0.10.3"
INSTALL
IMPORT
SIG · GIT-HASH
G
git-hash
utilityrustv0.10.3
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.

ObjectId
use git_hash::ObjectId;

Creates a null Git object ID (deprecated crate).

use git_hash::ObjectId; fn main() { let oid = ObjectId::null(); println!("Object ID: {}", oid); }
Debug
Known issues
breakingThis crate is deprecated; use gix-hash instead.
fix
Replace git-hash with gix-hash in Cargo.toml and update imports.
affects: >=0.10.0
Upgrade
Version history
0.10.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
git-hash — cargo add git-hash · libregistry