On 2024.10.08 16:19, Josh Steadmon wrote: > From: Calvin Wan <calvinwan@xxxxxxxxxx> > > Wrap `struct config_set` and a few of its associated functions in > libgit-sys. Also introduce a higher-level "libgit" crate which provides > a more Rust-friendly interface to config_set structs. > > Co-authored-by: Josh Steadmon <steadmon@xxxxxxxxxx> > Signed-off-by: Calvin Wan <calvinwan@xxxxxxxxxx> > Signed-off-by: Josh Steadmon <steadmon@xxxxxxxxxx> > --- > .gitignore | 1 + > Makefile | 2 +- > contrib/libgit-rs/Cargo.lock | 77 ++++++++++++++++++++ > contrib/libgit-rs/Cargo.toml | 15 ++++ > contrib/libgit-rs/build.rs | 4 ++ > contrib/libgit-rs/libgit-sys/src/lib.rs | 4 ++ > contrib/libgit-rs/src/lib.rs | 95 +++++++++++++++++++++++++ > contrib/libgit-rs/testdata/config1 | 2 + > contrib/libgit-rs/testdata/config2 | 2 + > contrib/libgit-rs/testdata/config3 | 2 + > 10 files changed, 203 insertions(+), 1 deletion(-) > create mode 100644 contrib/libgit-rs/Cargo.lock > create mode 100644 contrib/libgit-rs/Cargo.toml > create mode 100644 contrib/libgit-rs/build.rs > create mode 100644 contrib/libgit-rs/src/lib.rs > create mode 100644 contrib/libgit-rs/testdata/config1 > create mode 100644 contrib/libgit-rs/testdata/config2 > create mode 100644 contrib/libgit-rs/testdata/config3 Just realized that this commit message is not accurate anymore (and could provide more useful info anyway). I've reworded it in V5.