Cargo Features

[dependencies]
pbd = { version = "0.5.0", default-features = false, features = ["dua", "dtc", "dsg", "dpi"] }
default = dpi, dsg, dtc, dua

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

dua default = futures, rayon, reqwest

Data Usage Agreement functionality

Affects pbd::dua

dtc default = base64, pow_sha256

Data Tracker Chain functionality

Affects pbd::dtc

dsg default = bytes, openssl, rand

Data Security Guard functionality

Affects pbd::dsg

dpi default = eddie, levenshtein, multimap, rayon, regex, rust-tfidf

Data Privacy Inspector functionality

Affects pbd::dpi

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.

futures dua
rayon dpi dua

Enables rayon ~1.5

pow_sha256 dtc
base64 dtc

Enables base64 ~0.12

rand dsg

Enables rand ~0.7

openssl dsg
bytes dsg

Enables bytes ~0.5

regex dpi

Enables regex ~1.9

eddie dpi
multimap dpi

Enables multimap ~0.8.2

rust-tfidf dpi
levenshtein dpi
reqwest dua

Enables reqwest ~0.11