Cargo Features

[dependencies]
starknet-types-core = { version = "0.1.7", default-features = false, features = ["std", "alloc", "curve", "hash", "parity-scale-codec", "serde", "prime-bigint", "num-traits", "papyrus-serialization", "arbitrary"] }
default = curve, num-traits, serde, std

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

std default arbitrary? papyrus-serialization?

Enables std of optional lambdaworks-crypto ^0.10.0, lambdaworks-math ^0.10.0, num-bigint, num-integer, num-traits, and optional serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

alloc serde
curve default

Affects starknet-types-core::curve

hash

Enables lambdaworks-crypto ^0.10.0

Affects starknet-types-core::hash

parity-scale-codec

Enables parity-scale-codec

serde default = alloc

Enables serde

prime-bigint

Enables lazy_static

num-traits default std
papyrus-serialization = std
arbitrary = std

Enables arbitrary

Optional