Skip to content

Commit b68be1f

Browse files
authored
Update cargo-registry.mdx
1 parent bf39f9d commit b68be1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/formats/cargo-registry.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Cloudsmith supports [https://index.crates.io](https://index.crates.io) as an ups
146146

147147
To enable the upstream, browse to your repository overview page and click in the Upstreams tab. Then, click on **+ Add Upstream Proxy** and then choose the **Cargo** Upstream.
148148

149-
In the Upstream creation menu, define a name your Upstream and in the **Proxy URL** field insert `https://index.crates.io/`. Click on **+ Create Upstream Proxy** and the upstream shoud become immediately available.
149+
In the Upstream creation menu, define a name your Upstream and in the **Proxy URL** field insert `https://index.crates.io/`. Click on **+ Create Upstream Proxy** and the upstream should become immediately available.
150150

151151
### Registry Setup
152152

@@ -192,7 +192,7 @@ OWNER-REPOSITORY = { index = "https://dl.cloudsmith.io/basic/OWNER/REPOSITORY/ca
192192
OWNER-REPOSITORY = { index = "https://dl.cloudsmith.io/TOKEN/OWNER/REPOSITORY/cargo/index.git" }
193193
```
194194

195-
## Registry Authentication
195+
### Registry Authentication
196196

197197
You must configure Git with the proper credentials to clone the registry when using HTTP basic authentication. Git's standard authentication mechanisms are used by Cargo and can be configured normally. For example, you could use git's per-user credential store like so:
198198

0 commit comments

Comments
 (0)