Cargo Features

[dependencies]
mhash = { version = "0.3.0", default-features = false, features = ["all", "sha2", "validation", "str", "io", "vec"] }
default = io, str, vec

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

all = generation, io, sha2, str, validation, vec
sha2 all? = sodiumoxide
generation validation all?
str default all? = bs58, vec

Affects error::parse

io default all? = varmint
vec default all? str = varmint

Affects error::from_bytes

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.

bs58 str

Enables bs58 ^0.2.0

sodiumoxide sha2?

Enables sodiumoxide ^0.0.10

varmint io vec