Skip to content

Write libgit2 bindings for Rust #6410

Closed

Description

@catamorphism

This would be good for rustpkg so it doesn't have to shell out to invoke git.

I'll do this if no one else picks it up, but it could be a good starter project for somebody.

Activity

  1. kimhyunkang commented on May 14, 2013

    @kimhyunkang

    I'd like to try this as a side project

    It would make a great weekend hack project

  2. kud1ing commented on May 21, 2013

    @kud1ing
  3. emberian commented on Jul 12, 2013

    @emberian
    Contributor

    Visiting for triage; exciting that you are doing this, thank you!

  4. catamorphism commented on Nov 4, 2013

    @catamorphism
    ContributorAuthor

    @kud1ing - What's your status? Do you need any help in order to complete this? (Thanks!)

  5. kud1ing commented on Nov 5, 2013

    @kud1ing

    Tim, i've never taken it. And i fear i can not take it.

  6. catamorphism commented on Nov 5, 2013

    @catamorphism
    ContributorAuthor

    @kud1ing No problem, thanks for letting me know!

  7. kud1ing commented on Nov 5, 2013

    @kud1ing

    @kimhyunkang seems to have started such bindings.

  8. passcod commented on Jul 25, 2014

    @passcod
    Contributor

    @kimhyunkang's bindings look like they haven't been updated past Rust 0.9, so no.

  9. passcod commented on Jul 26, 2014

    @passcod
    Contributor

    Fair enough.

  10. eminence commented on Aug 4, 2014

    @eminence
    Contributor

    I've started some bindings as well. The code is incomplete, but what's there is functioning.

    Code: https://github.com/eminence/libgit2-rs
    Docs: http://eminence.github.io/libgit2-rs/doc/git2/git2/index.html

  11. alexcrichton commented on Aug 4, 2014

    @alexcrichton
    Member

    Oh dear, sorry I should have posted here! I'm also working on some bindings for cargo here: https://github.com/alexcrichton/git2-rs

    I'm only working on it in my spare time, but we should sync up!

  12. eminence commented on Aug 4, 2014

    @eminence
    Contributor

    Ok, cool! You might see some pull requests from me soon, then.

  13. richo commented on Aug 4, 2014

    @richo
    Contributor

    I also had a poke, but ended up in bindgen hell.

    Keen to see this become a thing though.

  14. thestinger commented on Sep 19, 2014

    @thestinger
    Contributor

    The bindings do exist and provide a fair bit of functionality. I don't think there's a point in leaving an issue open here, the tracker at https://github.com/alexcrichton/git2-rs is a better location for any issues.

  15. added a commit that references this issue on Jan 15, 2021
    ae9ae97
  16. added a commit that references this issue on Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions