Cargo Features

pythnet-sdk has no features set by default.

[dependencies]
pythnet-sdk = { version = "2.3.1", features = ["solana-program", "test-utils", "strum", "quickcheck"] }
solana-program

Enables anchor-lang and solana-program

test-utils

Enables libsecp256k1, rand, serde_wormhole, and wormhole-vaas-serde

Affects pythnet-sdk::test_utils

Features from optional dependencies

strum implicit feature

Enables strum ^0.24.1

strum:

Helpful macros for working with enums and strings

quickcheck implicit feature

Enables quickcheck

quickcheck:

Automatic property based testing with shrinking