Skip to content

self_update pulls in zipsign-api even when signatures feature is not enabled #157

@amtep

Description

@amtep

Hi, I was investigating what pulls in base64ct (which requires edition 2024), and it turned out to be self_update via zipsign-api.
But self_update is not supposed to pull that in because I don't use the signatures feature.

Here's the bit from my Cargo.toml:

[target.'cfg(target_os = "windows")'.dependencies]
self_update = { version = "0.42", features = [
    "archive-zip",
    "compression-zip-deflate",
] }

[target.'cfg(target_os = "linux")'.dependencies]
self_update = { version = "0.42", features = [
    "archive-tar",
    "compression-flate2",
] }

I'd love to reduce my dependency count a little here.

I looked at self_update's Cargo.toml and I can't figure out what's going wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions