Cargo Features

[dependencies]
banyanfs = { version = "0.2.1", default-features = false, features = ["banyan-api", "pem", "strict", "tomb-compat"] }
default = banyan-api, pem, strict, tomb-compat

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

banyan-api default tomb-compat = async-trait, jwt-simple, reqwest, serde, serde_json, url

Affects banyanfs::api

pem default

Enables pem and pkcs8 of p384

strict default
tomb-compat default = banyan-api

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.

async-trait banyan-api
jwt-simple banyan-api

Enables jwt-simple

TODO: we have most of what jwt-simple handles in our own crypto code which we really don't need and it doesn't quite match our needs. We can pull this out and reduce the scope of our library.

reqwest banyan-api

Enables reqwest ^0.11

serde banyan-api
serde_json banyan-api
url banyan-api