Cargo Features

try_encoding_from has no features set by default.

[dependencies]
try_encoding_from = { version = "0.1.4", features = ["cbor", "json", "yaml", "error"] }
cbor = serde, serde_cbor
json = serde, serde_json
yaml = serde, serde_yaml
error

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 cbor? json? yaml?
serde_cbor cbor?

Affects api::TryCborFrom, api::TryCborInto

serde_json json?

Affects api::TryJsonFrom, api::TryJsonInto

serde_yaml yaml?

Enables serde_yaml ^0.8

Affects api::TryYamlFrom, api::TryYamlInto