Sometimes when using git2 I'd like to use some libgit2 functionality that isn't exposed. libgit2-sys is already exporting the functions I am interested in, but I cannot access the raw pointer from a git2 object because Binding is not being publicly exported by the crate.
How does exporting this trait sound? It would allow for an escape hatch to be able to interact with libgit2-sys.
Sometimes when using
git2
I'd like to use somelibgit2
functionality that isn't exposed.libgit2-sys
is already exporting the functions I am interested in, but I cannot access the raw pointer from a git2 object becauseBinding
is not being publicly exported by the crate.How does exporting this trait sound? It would allow for an escape hatch to be able to interact with
libgit2-sys
.