Cargo Features

[dependencies]
sawtooth = { version = "0.8.0", default-features = false, features = ["stable", "experimental", "wasm", "wasm-experimental", "artifact", "artifact-creator", "artifact-store", "client", "client-rest", "family-command", "family-command-transaction-builder", "family-command-workload", "family-sabre", "family-smallbank", "family-smallbank-workload", "family-xo", "lmdb", "pending-batch-queue", "postgres", "protocol-block", "protocol-genesis", "publisher", "sqlite", "store", "transact", "transact-context", "transact-contract", "transact-contract-address", "transact-contract-address-key-hash", "transact-contract-address-double-key-hash", "transact-contract-address-triple-key-hash", "transact-contract-archive", "transact-contract-context", "transact-contract-context-key-value", "transact-database-lmdb", "transact-execution", "transact-handler", "transact-key-value-state", "transact-protocol-batch", "transact-protocol-batch-builder", "transact-protocol-sabre", "transact-protocol-transaction", "transact-protocol-transaction-builder", "transact-sabre-compat", "transact-sawtooth-compat", "transact-scheduler", "transact-state-merkle", "transact-state-merkle-sql", "transact-state-merkle-sql-postgres-tests", "transact-workload", "transact-workload-batch-gen", "transact-workload-runner", "transaction-receipt-store", "validator-internals"] }
default stable? = protocol-block, protocol-genesis

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

stable experimental? = default, family-command, family-command-transaction-builder, family-command-workload, family-sabre, family-smallbank, lmdb, postgres, sqlite, store, transact, transact-context, transact-contract-archive, transact-database-lmdb, transact-execution, transact-handler, transact-protocol-batch, transact-protocol-batch-builder, transact-protocol-sabre, transact-protocol-transaction, transact…transaction-builder, transact-scheduler, transact-state-merkle, transact-state-merkle-sql, transact-workload, transact-workload-batch-gen, transact-workload-runner, transaction-receipt-store
experimental = artifact, artifact-creator, artifact-store, client, client-rest, family-smallbank-workload, family-xo, pending-batch-queue, publisher, stable, transact-contract, transact-contract-address, transact-contract…double-key-hash, transact-contract-address-key-hash, transact-contract…triple-key-hash, transact-contract-context, transact-contract-context-key-value, transact-key-value-state, validator-internals
wasm wasm-experimental? = transact-sabre-compat

stable features in support of wasm

wasm-experimental = wasm
artifact artifact-creator? artifact-store? experimental?

Affects sawtooth::artifact

artifact-creator experimental? publisher? = artifact
artifact-store experimental? = artifact
client client-rest? experimental?

Affects sawtooth::client

client-rest experimental? = base64, client, log, reqwest, serde

Affects client::rest

family-command family-command-transaction-builder? family-command-workload? stable? = transact-handler

Affects families::command

family-command-transaction-builder stable? = cylinder, family-command, transact…transaction-builder

Affects workload::CommandTransactionBuilder

family-command-workload stable? = family-command, transact-protocol-sabre, transact-workload

Affects command::workload

family-sabre stable? = transact-handler, wasmi

Affects families::sabre, protocol::sabre

family-smallbank family-smallbank-workload? stable? = sha2, transact-handler

Affects families::smallbank

family-smallbank-workload experimental? = family-smallbank, rand, transact-protocol-sabre, transact-workload, transact-workload-runner, yaml-rust

Affects smallbank::workload

family-xo experimental? = transact-handler, transact-workload

Affects families::xo

lmdb stable? = lmdb-zero, log

Affects store::lmdb

pending-batch-queue experimental? = validator-internals

Affects publisher::pending_batch_queue

postgres stable? transact-state…sql-postgres-tests? = diesel_migrations, log, store

Enables postgres of diesel ^1.0

Affects diesel::postgres

protocol-block default = transact-protocol-batch, transact-protocol-batch-builder, transact-protocol-transaction, transact…transaction-builder

Affects protocol::block

protocol-genesis default = transact-protocol-batch, transact-protocol-batch-builder, transact-protocol-transaction, transact…transaction-builder

Affects protocol::genesis

publisher experimental? = artifact-creator

Affects sawtooth::publisher

sqlite stable? = diesel_migrations, log, serde_json, store

Enables sqlite of diesel ^1.0

Affects diesel::sqlite

store postgres? sqlite? stable?
transact stable? transact-context? transact-contract? transact-database-lmdb? transact-handler? transact-key-value-state? transact-protocol-transaction? transact-sabre-compat? transact-sawtooth-compat? transact-state-merkle? transact-workload? transact-workload-batch-gen? transact-workload-runner? transaction-receipt-store?

Affects sawtooth::transact

transact-context stable? transact-execution? transact-scheduler? = transact, uuid

Affects transact::context

transact-contract experimental? transact-contract-address? transact-contract-archive? transact-contract-context? = transact

Affects transact::contract

transact-contract-address experimental? transact-contract…double-key-hash? transact-contract-address-key-hash? transact-contract…triple-key-hash? transact-contract-context? = transact-contract

Affects contract::address

transact-contract-address-key-hash experimental? = transact-contract-address

Affects address::key_hash

transact-contract-address-double-key-hash experimental? = transact-contract-address

Affects address::double_key_hash

transact-contract-address-triple-key-hash experimental? = transact-contract-address

Affects address::triple_key_hash

transact-contract-archive stable? = bzip2, glob, semver, serde, serde_yaml, tar, transact-contract

Affects contract::archive

transact-contract-context experimental? transact-contract-context-key-value? = transact-contract, transact-contract-address

Affects contract::context

transact-contract-context-key-value experimental? = transact-contract-context, transact-key-value-state

Affects context::key_value

transact-database-lmdb stable? = lmdb-zero, transact

Affects database::lmdb

transact-execution stable? = log, transact-context, transact-handler, transact-protocol-transaction, transact-scheduler

Affects transact::execution

transact-handler family-command? family-sabre? family-smallbank? family-xo? stable? transact-execution? transact-sabre-compat? transact-sawtooth-compat? = transact, transact-protocol-transaction

Affects transact::handler

transact-key-value-state experimental? transact-contract-context-key-value? = transact

Affects protocol::key_value_state

transact-protocol-batch protocol-block protocol-genesis stable? transact-protocol-batch-builder? transact-scheduler? = transact-protocol-transaction

Affects protocol::batch

transact-protocol-batch-builder protocol-block protocol-genesis stable? transact…transaction-builder? = cylinder, transact-protocol-batch

Affects batch::BatchBuilder

transact-protocol-sabre family-command-workload? family-smallbank-workload? stable? = cylinder, transact…transaction-builder

Affects protocol::sabre

transact-protocol-transaction protocol-block protocol-genesis stable? transact-execution? transact-handler? transact-protocol-batch? transact…transaction-builder? = transact

Affects protocol::transaction

transact-protocol-transaction-builder family-command-transaction-builder? protocol-block protocol-genesis stable? transact-protocol-sabre? = cylinder, rand, sha2, transact-protocol-batch-builder, transact-protocol-transaction

Affects transaction::TransactionBuilder

transact-sabre-compat wasm? = sabre-sdk, transact, transact-handler

Affects handler::sabre

transact-sawtooth-compat = sawtooth-sdk, transact, transact-handler

Affects transact::sawtooth

transact-scheduler stable? transact-execution? = log, transact-context, transact-protocol-batch

Affects transact::scheduler

transact-state-merkle stable? transact-state-merkle-sql? = cbor-codec, log, transact

Affects state::merkle

transact-state-merkle-sql stable? = diesel, diesel_migrations, lru, transact-state-merkle

Affects merkle::sql

transact-state-merkle-sql-postgres-tests = lazy_static, postgres

Affects postgres::test

transact-workload family-command-workload? family-smallbank-workload? family-xo? stable? transact-workload-batch-gen? = transact

Affects transact::workload

transact-workload-batch-gen stable? = transact, transact-workload

Affects error::BatchingError, workload::batch_gen

transact-workload-runner family-smallbank-workload? stable? = chrono, reqwest, serde, transact

Affects error::WorkloadRunnerError

transaction-receipt-store stable? = transact

Affects receipt::store, sawtooth::receipt

validator-internals experimental? pending-batch-queue? = cbor-codec, cylinder, lmdb-zero, log, metrics, sha2, uluru

Affects sawtooth::consensus, sawtooth::hashlib, sawtooth::journal, sawtooth::permissions, sawtooth::scheduler, sawtooth::state, sawtooth::receipt

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.

base64 client-rest?

Enables base64 ^0.13

bzip2 transact-contract-archive?
cbor-codec transact-state-merkle? validator-internals?
chrono transact-workload-runner?
cylinder family-command-transaction-builder? transact-protocol-batch-builder? transact-protocol-sabre? transact…transaction-builder? validator-internals?

Enables cylinder ^0.2

diesel postgres? sqlite? transact-state-merkle-sql?

Enables diesel ^1.0

Affects store::diesel

diesel_migrations postgres? sqlite? transact-state-merkle-sql?

Enables diesel_migrations ^1.4

glob transact-contract-archive?
lazy_static transact-state…sql-postgres-tests?
log client-rest? lmdb? postgres? sqlite? transact-execution? transact-scheduler? transact-state-merkle? validator-internals?
lru transact-state-merkle-sql?

Enables lru ^0.7

lmdb-zero lmdb? transact-database-lmdb? validator-internals?
metrics validator-internals?

Enables metrics ^0.17

rand family-smallbank-workload? transact…transaction-builder?
reqwest client-rest? transact-workload-runner?

Enables reqwest ^0.11

sabre-sdk transact-sabre-compat?

Enables sabre-sdk ^0.7.1

sawtooth-sdk transact-sawtooth-compat?
semver transact-contract-archive?
serde client-rest? transact-contract-archive? transact-workload-runner?
serde_json sqlite?
serde_yaml transact-contract-archive?

Enables serde_yaml ^0.8

sha2 family-smallbank? transact…transaction-builder? validator-internals?

Enables sha2 ^0.9

tar transact-contract-archive?
uluru validator-internals?
uuid transact-context?

Enables uuid ^0.8

wasmi family-sabre?

Enables wasmi ^0.9

yaml-rust family-smallbank-workload?