[pve-devel] applied: [PATCH proxmox-firewall v2 1/2] firewall: cargo: use new cargo feature resolver

Gabriel Goller g.goller at proxmox.com
Thu Oct 31 14:31:43 CET 2024


On 31.10.2024 14:04, Fabian Grünbichler wrote:
>On October 31, 2024 11:10 am, Gabriel Goller wrote:
>> Virtual cargo workspaces (workspaces without a [package] section)
>> default to the cargo feature resolver "1" – even though this outputs a
>> warning on every cargo invocation. To remove the warning, explicitly set
>> the resolver to version "2".
>>
>> Signed-off-by: Gabriel Goller <g.goller at proxmox.com>
>> ---
>>
>> v2:
>>  - nothing changed
>>
>>  Cargo.toml | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/Cargo.toml b/Cargo.toml
>> index 8fba806ad2a5..3894d9f703a1 100644
>> --- a/Cargo.toml
>> +++ b/Cargo.toml
>> @@ -3,6 +3,7 @@ members = [
>>      "proxmox-nftables",
>>      "proxmox-firewall",
>>  ]
>> +resolver = "2"
>>
>>  [workspace.dependencies]
>>  proxmox-ve-config = { version = "0.1.0" }
>
>where does this part come from? not on current master at least ;)
>adapted it to the current Cargo.toml and applied, since the resulting
>.deb files are identical anyhow..

Oops, forgot to mention it – this (the second patch) obviously depends
on the ipset series by Stefan.
(https://lore.proxmox.com/pve-devel/20241010155637.255451-1-s.hanreich@proxmox.com/.)




More information about the pve-devel mailing list