Cargo Features

[dependencies]
sponsor-block = { version = "0.6.1", default-features = false, features = ["user", "vip", "private_searches", "gen_user_id"] }
default = private_searches, user

The set of features enabled by default.

user default

User functions, for standard use of the service.

vip

VIP functions, only really useful for VIP users.

private_searches default = sha2

Use hash-based segment searching, which significantly improves privacy at a slight bandwidth and performance cost.
This should almost certainly be left enabled.

gen_user_id = rand

Include support for generating new local user IDs.

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

rand gen_user_id?
sha2 private_searches

Enables sha2 ^0.9