Skip to main content

Crate radicle_oid

Crate radicle_oid 

Source
Expand description

This is a no_std crate which carries the struct Oid that represents Git object identifiers. Currently, only SHA-1 digests are supported.

§Feature Flags

The default features are sha1 and std.

§sha1

Enabled by default, since SHA-1 is commonly used. Currently, this feature is also required to build the crate. In the future, after support for other hashes is added, it might become possible to build the crate without support for SHA-1.

§std

Enabled by default, since it is expected that most dependents will use the standard library.

Provides an implementation of Hash.

§git2

Provides conversions to/from git2::Oid.

Note that as of version 0.19.0,

§gix

Provides conversions to/from ObjectId.

§schemars

Provides an implementation of JsonSchema.

§serde

Provides implementations of Serialize and Deserialize.

§qcheck

Provides an implementation of qcheck::Arbitrary.

§radicle-git-ref-format

Conversion to radicle_git_ref_format::Component (and also radicle_git_ref_format::RefString).

Modules§

str

Enums§

Oid