Cargo Features

[dependencies]
fuel-data-parser = { version = "0.0.16", default-features = false, features = ["all", "bincode", "postcard", "json", "zlib", "gzip", "brotli", "bzip2", "lzma", "deflate", "zstd", "test-helpers", "bench-helpers"] }
default = json, zstd

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

all bench-helpers? = bincode, brotli, bzip2, deflate, gzip, json, lzma, postcard, zlib, zstd
bincode all?

Serialization formats

Enables bincode

postcard all?

Enables postcard

json default all?

Enables serde_json

Affects fuel-data-parser::DataEncoder.encode_json, fuel-data-parser::DataEncoder.encode_json_value, fuel-data-parser::DataEncoder.decode_json, fuel-data-parser::DataEncoder.decode_json_value

zlib all?

Compression strategies

Enables zlib of async-compression

Affects compression_strategies::ZlibCompressionStrategy

gzip all?

Enables gzip of async-compression

Affects compression_strategies::GzipCompressionStrategy

brotli all?

Enables brotli of async-compression

Affects compression_strategies::BrotliCompressionStrategy

bzip2 all?

Enables bzip2 of async-compression

Affects compression_strategies::BzCompressionStrategy

lzma all?

Enables lzma of async-compression

Affects compression_strategies::LzmaCompressionStrategy

deflate all?

Enables deflate of async-compression

async-compression:

algorithms

Affects compression_strategies::DeflateCompressionStrategy

zstd default all?

Enables zstd of async-compression

Affects compression_strategies::ZstdCompressionStrategy

test-helpers

Helper features

bench-helpers = all