Cargo Features

exonum-crypto = { version = "1.0.0", default-features = false, features = ["sodiumoxide-crypto", "with-protobuf", "with-serde"] }
default = sodiumoxide-crypto, with-protobuf, with-serde

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

sodiumoxide-crypto default = exonum_sodiumoxide

Affects crypto_lib::sodiumoxide

with-protobuf default = exonum-proto, protobuf

Affects exonum-crypto::proto

with-serde default

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.

exonum_sodiumoxide sodiumoxide-crypto

Enables exonum_sodiumoxide ^0.0.23

exonum-proto with-protobuf
protobuf with-protobuf

Enables protobuf ^2.8.1