Cargo Features

[dependencies]
x509-cert = { version = "0.2.4", default-features = false, features = ["std", "builder", "hazmat", "pem", "arbitrary", "sha1"] }
default = pem, std

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

std default arbitrary? builder?

Enables std of const-oid, der, and spki

builder = signature, std

Enables default (std) of sha1

Affects x509-cert::builder

hazmat

Affects certificate::Raw

pem default

Enables pem of der and spki

arbitrary = std

Enables arbitrary of der and spki and arbitrary

arbitrary:

optional dependencies

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

sha1 implicit feature

With default (std)

signature builder?

With rand_core