Docs.rs
  • git-revision-0.3.0
    • git-revision 0.3.0
    • Docs.rs crate page
    • MIT/Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • Byron
    • Dependencies
      • bstr ^0.2.13 normal
      • document-features ^0.2.1 normal
      • git-date ^0.0.2 normal
      • git-hash ^0.9.6 normal
      • git-object ^0.20.0 normal
      • hash_hasher ^2.0.3 normal
      • serde ^1.0.114 normal
      • thiserror ^1.0.26 normal
    • Versions
    • 100% of the crate is documented
  • Go to latest version
  • Platform
    • i686-pc-windows-msvc
    • i686-unknown-linux-gnu
    • x86_64-apple-darwin
    • x86_64-pc-windows-msvc
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

Crate git_revision

logo

Crate git_revision

  • Version 0.3.0
  • All Items
  • Re-exports
  • Modules
  • Functions

Crates

  • git_revision
logo
Change settings

Crate git_revision

source · [−]
Expand description

Interact with git revisions by parsing them from rev-specs and turning them into rev-specs.

One can also describe revisions using a different algorithm.

Feature Flags

  • serde1 — Data structures implement serde::Serialize and serde::Deserialize.

Re-exports

pub use hash_hasher;

Modules

describe
spec

Functions

describe

Given a commit id, traverse the commit graph and collect candidate names from the name_by_oid mapping to produce an Outcome, which converted into_format() will produce a typical git describe string.

Loading search results...