Commit 5f6ebae
committed
feat: custom registries for targets in cargo-component new
This commit adds support for using custom registries with targets when
performing `cargo component new`. Users can specify a registry URI
like `oci://ghcr.io` along with a registry namespace prefix like
`bytecodealliance` and get easy access to packages (e.g. `docs:adder`)
that are provided therein.
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>1 parent 230310c commit 5f6ebae
4 files changed
+311
-111
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
99 | | - | |
100 | | - | |
| 100 | + | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| |||
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
112 | | - | |
| 113 | + | |
| 114 | + | |
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
| |||
0 commit comments