Cargo Features

tink-core has no features set by default.

[dependencies]
tink-core = { version = "0.2.5", features = ["insecure", "json"] }
insecure

The insecure feature enables methods that expose unencrypted key material

Affects keyset::insecure

json = serde, serde_json

The json feature enables methods for serializing keysets to/from JSON.

Enables json of tink-proto

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.

serde json?
serde_json json?