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
somewhere in the dependency tree.default-features = false 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
… - to publish
- 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?