Cargo Features

[dependencies]
mavryk-smart-rollup-encoding = { version = "0.2.2", default-features = false, features = ["alloc", "crypto", "bls", "mavryk-encoding", "proto-alpha", "testing"] }
default = alloc, bls, crypto, mavryk-encoding

These default features are set whenever mavryk-smart-rollup-encoding is added without default-features = false somewhere in the dependency tree.

alloc default = crypto, hex, num-bigint, num-traits, regex, thiserror

Affects pages::make_preimage_hash, mavryk-smart-rollup-encoding::entrypoint, mavryk-smart-rollup-encoding::inbox, mavryk-smart-rollup-encoding::michelson, mavryk-smart-rollup-encoding::outbox, michelson::ticket

crypto default alloc testing? = mavryk_crypto_rs

Affects dac::certificate, mavryk-smart-rollup-encoding::contract, mavryk-smart-rollup-encoding::public_key, mavryk-smart-rollup-encoding::public_key_hash, mavryk-smart-rollup-encoding::smart_rollup

bls default

Enables bls of mavryk_crypto_rs =0.5.2

mavryk-encoding default = mavryk_data_encoding, mavryk_data_encoding_derive, time
proto-alpha

Enables proto-alpha of mavryk-smart-rollup-core and mavryk-smart-rollup-host

Affects outbox::OutboxMessageWhitelistUpdate, outbox::InvalidWhitelist

testing = crypto, num-bigint, num-traits, proptest

Affects contract::testing, mavryk-smart-rollup-encoding::testing, ticket::testing

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.

mavryk_data_encoding mavryk-encoding

Enables mavryk_data_encoding =0.5.2

mavryk_data_encoding_derive mavryk-encoding

Enables mavryk_data_encoding_derive =0.5.2

mavryk_crypto_rs bls crypto

Enables mavryk_crypto_rs =0.5.2

num-bigint alloc testing?

Enables num-bigint ^0.3

num-traits alloc testing?
time mavryk-encoding
hex alloc
thiserror alloc
regex alloc
proptest testing?