Cargo Features

[dependencies]
librqbit-bencode = { version = "3.0.2", default-features = false, features = ["sha1-crypto-hash", "sha1-ring"] }
default = sha1-crypto-hash

The sha1-crypto-hash feature is set by default whenever librqbit-bencode is added without default-features = false somewhere in the dependency tree.

sha1-crypto-hash default

Enables sha1-crypto-hash of librqbit-sha1-wrapper

sha1-ring

Enables sha1-ring of librqbit-sha1-wrapper

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.

sha1w sha1-crypto-hash sha1-ring?

Enables librqbit-sha1-wrapper