Cargo Features

[dependencies]
pkstl = { version = "0.1.0", default-features = false, features = ["zip-sign", "ser", "bin", "cbor", "json"] }
default = zip-sign

The zip-sign feature is set by default whenever pkstl is added without default-features = false somewhere in the dependency tree.

zip-sign default ser? = flate2

Affects config::SecureLayerConfig, config::SecureLayerConfig.compression, config::SecureLayerConfig.compression_min_size

ser bin? cbor? json? = serde, zip-sign

Affects complete::serde, config::SecureLayerConfig.message_format

bin = bincode, ser
cbor = ser, serde_cbor
json = ser, serde_json

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.

bincode bin?
flate2 zip-sign
serde ser?
serde_cbor cbor?

Enables serde_cbor ^0.10.2

serde_json json?