Cargo Features

SRX has no features set by default.

[dependencies]
srx = { version = "0.1.4", features = ["serde", "from_xml"] }
serde from_xml? = serde_crate, serde_regex
from_xml = serde, serde-xml-rs, thiserror

Affects from_xml::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_crate serde?

Enables serde

workaround to use a 'serde' feature which also enables 'serde_regex' see https://github.com/RustCrypto/RSA/pull/41/files

serde_regex serde?
serde-xml-rs from_xml?

Enables serde-xml-rs ^0.4

used for reading from an XML in SRX format

thiserror from_xml?