Cargo Features

self-update has no features set by default.

[dependencies]
self_update = { version = "0.39.0", features = ["archive-zip", "compression-zip-bzip2", "compression-zip-deflate", "archive-tar", "compression-flate2", "rustls", "signatures"] }
default

These default features are set whenever self_update is added without default-features = false somewhere in the dependency tree.

Enables default-tls of reqwest

reqwest:

Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.

archive-zip compression-zip-bzip2? compression-zip-deflate? = zip

Enables verify-zip of optional zipsign-api

compression-zip-bzip2 = archive-zip

Enables bzip2 of zip

compression-zip-deflate = archive-zip

Enables deflate of zip

archive-tar compression-flate2? = tar

Enables verify-tar of optional zipsign-api

compression-flate2 = archive-tar, either, flate2

Affects self_update::GetArchiveReaderResult

rustls

Enables rustls-tls of reqwest

signatures

Enables zipsign-api

Affects update::ReleaseUpdate.verifying_keys

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

flate2 compression-flate2?
tar archive-tar?
zip archive-zip? compression-zip-bzip2? compression-zip-deflate?
either compression-flate2?