We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05fa593 commit dfd9b91Copy full SHA for dfd9b91
README.md
@@ -4,9 +4,20 @@
4
5
libgit2 bindings for Rust.
6
7
-```toml
8
-[dependencies]
9
-git2 = "0.21"
+```
+cargo add git2
10
+
11
+## Features
12
13
+By default, git2 includes support for working with local repositories, but does
14
+not include network support (e.g. cloning remote repositories). If you want to
15
+use features that require network support, you may need the `"https"` and/or
16
+`"ssh"` features. If you support user-provided repository URLs, you probably
17
+want to enable both.
18
19
20
+cargo add git2 --features https,ssh
21
```
22
23
## Rust version requirements
0 commit comments