{{if eq .PackageDescriptor.Package.Type "cargo"}}
[registry]
default = "gitea"
[registries.gitea]
index = "{{AppUrl}}{{.PackageDescriptor.Owner.Name}}/_cargo-index.git"
[net]
git-fetch-with-cli = true
cargo add {{.PackageDescriptor.Package.Name}}@{{.PackageDescriptor.Version.Version}}
{{.locale.Tr "packages.dependency.id"}} | {{.locale.Tr "packages.dependency.version"}} |
---|---|
{{.Name}} | {{.Req}} |