Cargo Features
Cruiser has no features set by default.
[dependencies]
cruiser = { version = "0.2.0", features = ["client", "experimental", "small_vec", "interface", "testing", "spl-token"] }
- client testing? = solana-client, solana-sdk
-
Affects
cruiser::client
… - experimental = interface, small_vec
- small_vec experimental?
-
Affects
types::small_vec
… - interface experimental?
-
Affects
instruction_list::Interface
,instruction_list::InterfaceProcessor
… - testing = async-trait, client, log, rand, rand_chacha, solana-program-test, solana-transaction-status
-
Affects
cruiser::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.
- spl-token implicit feature
-
Enables spl-token =3.2.0
OPTIONAL
Affects
client::token
,cruiser::spl
,spl::token
… - solana-sdk client?
-
Enables solana-sdk ^1.9.14
- solana-program-test testing?
-
Enables solana-program-test ^1.9.14
- solana-client client?
-
Enables solana-client ^1.9.14
- solana-transaction-status testing?
- log testing?
- async-trait testing?
- rand testing?
-
Enables rand ^0.7.3
These are older as solana sdk relies on rand_core 0.5.1
- rand_chacha testing?
-
Enables rand_chacha ^0.2.2