Deps path overrides (temporary refers to Gitea) and alt-linux feature in .toml

This commit is contained in:
2024-10-28 17:52:46 +03:00
parent 843f7a8f6a
commit a47c7bac89
2 changed files with 31 additions and 28 deletions

View File

@@ -1,38 +1,38 @@
[source.crates-io]
replace-with = "vendored-sources"
# [source.crates-io]
# replace-with = "vendored-sources"
[source."git+git://git.proxmox.com/git/perlmod.git"]
git = "git://git.proxmox.com/git/perlmod.git"
replace-with = "vendored-sources"
# [source."git+git://git.proxmox.com/git/perlmod.git"]
# git = "git://git.proxmox.com/git/perlmod.git"
# replace-with = "vendored-sources"
[source."git+git://git.proxmox.com/git/proxmox-resource-scheduling.git"]
git = "git://git.proxmox.com/git/proxmox-resource-scheduling.git"
replace-with = "vendored-sources"
# [source."git+git://git.proxmox.com/git/proxmox-resource-scheduling.git"]
# git = "git://git.proxmox.com/git/proxmox-resource-scheduling.git"
# replace-with = "vendored-sources"
[source."git+git://git.proxmox.com/git/proxmox.git"]
git = "git://git.proxmox.com/git/proxmox.git"
replace-with = "vendored-sources"
# [source."git+https://gitea.basealt.ru/konevsa/proxmox.newest.git"]
# git = "https://gitea.basealt.ru/konevsa/proxmox.newest.git"
# replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"
# [source.vendored-sources]
# directory = "vendor"
# Local path overrides
# NOTE: You must run `cargo update` after changing this for it to take effect!
[patch.crates-io]
proxmox-tfa = { git = "git://git.proxmox.com/git/proxmox.git" }
proxmox-time = { git = "git://git.proxmox.com/git/proxmox.git" }
proxmox-uuid = { git = "git://git.proxmox.com/git/proxmox.git" }
proxmox-tfa = { git = "https://gitea.basealt.ru/konevsa/proxmox.newest.git" }
proxmox-time = { git = "https://gitea.basealt.ru/konevsa/proxmox.newest.git" }
proxmox-uuid = { git = "https://gitea.basealt.ru/konevsa/proxmox.newest.git" }
perlmod = { git= "git://git.proxmox.com/git/perlmod.git" }
proxmox-apt-api-types = { git = "git://git.proxmox.com/git/proxmox.git" }
#proxmox-apt = { git = "git://git.proxmox.com/git/proxmox.git" }
proxmox-config-digest = { git = "git://git.proxmox.com/git/proxmox.git" }
proxmox-log = { git = "git://git.proxmox.com/git/proxmox.git" }
proxmox-openid = { git = "git://git.proxmox.com/git/proxmox.git" }
proxmox-schema = { git = "git://git.proxmox.com/git/proxmox.git" }
proxmox-sys = { git = "git://git.proxmox.com/git/proxmox.git" }
proxmox-http = { git = "git://git.proxmox.com/git/proxmox.git" }
proxmox-http-error = { git = "git://git.proxmox.com/git/proxmox.git" }
proxmox-notify = { git = "git://git.proxmox.com/git/proxmox.git" }
proxmox-shared-cache = { git = "git://git.proxmox.com/git/proxmox.git" }
proxmox-subscription = { git = "git://git.proxmox.com/git/proxmox.git" }
proxmox-apt-api-types = { git = "https://gitea.basealt.ru/konevsa/proxmox.newest.git" }
proxmox-apt = { git = "https://gitea.basealt.ru/konevsa/proxmox.newest.git" }
proxmox-config-digest = { git = "https://gitea.basealt.ru/konevsa/proxmox.newest.git" }
proxmox-log = { git = "https://gitea.basealt.ru/konevsa/proxmox.newest.git" }
proxmox-openid = { git = "https://gitea.basealt.ru/konevsa/proxmox.newest.git" }
proxmox-schema = { git = "https://gitea.basealt.ru/konevsa/proxmox.newest.git" }
proxmox-sys = { git = "https://gitea.basealt.ru/konevsa/proxmox.newest.git" }
proxmox-http = { git = "https://gitea.basealt.ru/konevsa/proxmox.newest.git" }
proxmox-http-error = { git = "https://gitea.basealt.ru/konevsa/proxmox.newest.git" }
proxmox-notify = { git = "https://gitea.basealt.ru/konevsa/proxmox.newest.git" }
proxmox-shared-cache = { git = "https://gitea.basealt.ru/konevsa/proxmox.newest.git" }
proxmox-subscription = { git = "https://gitea.basealt.ru/konevsa/proxmox.newest.git" }
proxmox-resource-scheduling = { git = "git://git.proxmox.com/git/proxmox-resource-scheduling.git" }

View File

@@ -45,3 +45,6 @@ proxmox-subscription = "0.4"
proxmox-sys = "0.6"
proxmox-tfa = { version = "5", features = ["api"] }
proxmox-time = "2"
[features]
alt-linux = ["proxmox-apt/alt-linux", "proxmox-apt-api-types/alt-linux"]