在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
git2-rslibgit2 bindings for Rust [dependencies]git2 = "0.13" Rust version requirementsgit2-rs works with stable Rust, and typically works with the most recent priorstable release as well. Check the MSRV job of the CI script to see the oldestversion of Rust known to pass tests. Version of libgit2Currently this library requires libgit2 1.0.0. The source for libgit2 isincluded in the libgit2-sys crate so there's no need to pre-install the libgit2library, the libgit2-sys crate will figure that and/or build that for you. Building git2-rs$ git clone https://github.com/rust-lang/git2-rs$ cd git2-rs$ cargo build Automating TestingRunning tests and handling all of the associated edge cases on every commitproves tedious very quickly. To automate tests and handle proper stashing andunstashing of unstaged changes and thus avoid nasty surprises, use thepre-commit hook found here and place it into the To skip tests on a simple commit or doc-fixes, use Building on OSX 10.10+If the LicenseThis project is licensed under either of
at your option. ContributionUnless you explicitly state otherwise, any contribution intentionally submittedfor inclusion in git2-rs by you, as defined in the Apache-2.0 license, shall bedual licensed as above, without any additional terms or conditions. |
请发表评论