Cargo Features

Cloudproof has no features set by default.

[dependencies]
cloudproof = { version = "3.0.2", features = ["findex-redis", "findex-sqlite", "ffi"] }
default

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

Enables cloudproof_aesgcm, cloudproof_anonymization, cloudproof_cover_crypt, cloudproof_ecies, cloudproof_findex, and cloudproof_fpe

cloudproof_aesgcm:

But:

  • to publish cloudproof package, we must publish those sub-crates individually and manually.
  • cbindgen follows the cargo deps and fetch the crates from crates.io.

Affects cloudproof::reexport

findex-redis

Enables redis-interface of cloudproof_findex

findex-sqlite

Enables sqlite-interface of cloudproof_findex

ffi

Enables ffi of cloudproof_aesgcm, cloudproof_anonymization, cloudproof_cover_crypt, cloudproof_ecies, cloudproof_findex, and cloudproof_fpe

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.

cloudproof_aesgcm default ffi?
cloudproof_anonymization default ffi?
cloudproof_cover_crypt default ffi?
cloudproof_ecies default ffi?
cloudproof_findex default ffi? findex-redis? findex-sqlite?
cloudproof_fpe default ffi?