Cargo Features

[dependencies]
rust-stdf = { version = "0.3.1", default-features = false, features = ["gzip", "bzip", "zipfile", "atdf", "serialize"] }
default = bzip, gzip

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

gzip default = flate2
bzip default = bzip2
zipfile = zip
atdf = chrono, hex

Affects rust-stdf::atdf_file

serialize = serde, struct-field-names-as-array

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.

flate2 gzip
bzip2 bzip
zip zipfile?

Enables zip ^0.6.3

chrono atdf?
hex atdf?
serde serialize?
struct-field-names-as-array serialize?

Enables struct-field-names-as-array ^0.1.4