Cargo Features

[dependencies]
stacks-rs = { version = "0.3.3", default-features = false, features = ["crypto", "clarity", "derive", "transaction", "wallet-sdk", "rpc"] }
default = clarity, transaction

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

crypto clarity wallet-sdk?

Provide hex, sha, b58 & c32 primitives & methods.

Affects stacks-rs::crypto

clarity default = crypto

Provide clarity types & encoding/decoding methods.

Affects stacks-rs::clarity

derive = stacks_derive

Provide convenience derive(...) macros.

Affects stacks-rs::derive

transaction default = typed-builder

Provide transaction builders. (transfer, call etc.)

Affects stacks-rs::transaction

wallet-sdk = crypto

Provide a wallet-sdk

Affects stacks-rs::wallet

rpc = serde, ureq

Provide rpc methods.

Affects stacks-rs::rpc

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.

serde rpc?
stacks_derive derive?
typed-builder transaction

Enables typed-builder ^0.18.1

ureq rpc?