Registry / utility / git-object

git-object

JSON →
library0.26.2rscratesunverified

Please use `gix-object` instead; this crate is deprecated in favor of the gitoxide project.

# Cargo.toml [dependencies] git-object = "0.26.2"
INSTALL
IMPORT
SIG · GIT-OBJECT
G
git-object
utilityrustv0.26.2
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.

Object
✓ use git_object::Object;

Parses a git object from raw bytes.

use git_object::Object; let obj = Object::from_bytes(&data).unwrap(); println!("Object type: {:?}", obj.kind);
Debug
Known issues
breakingThis crate is deprecated; use `gix-object` instead.
fix
Replace `git-object` with `gix-object` in your Cargo.toml and update imports.
affects: >=0.26.0
Upgrade
Version history
0.26.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
git-object — cargo add git-object · libregistry