Cargo Features
[dependencies]
vade-evan = { version = "0.3.0", default-features = false, features = ["cli", "c-lib", "java-lib", "did", "vc-zkp", "vc-zkp-bbs", "vc-zkp-cl", "vade-evan-cl", "did-read", "did-write", "did-sidetree", "did-substrate", "did-universal-resolver", "didcomm", "portable", "vc-jwt", "wasm", "sdk"] }
- default = cli, did, didcomm, portable, vc-zkp
-
These default features are set whenever
vade-evan
is added without
somewhere in the dependency tree.default-features = false - cli default = clap, did, didcomm, tokio, vc-zkp
-
add command line interface; not compatible with
wasm
featureRequired by the vade_evan_cli binary
- c-lib java-lib? = did, didcomm, tokio, vc-zkp
-
expose C interface for C applications to use vade
Affects
vade_utils::get_config_default
… - java-lib = c-lib
-
expose Java interface for Java applications to use vade
- did default c-lib? cli = did-read, did-sidetree, did-substrate, did-universal-resolver, did-write
-
enables using DIDs, also required for some vc-zkp functions
- vc-zkp default c-lib? cli = vc-jwt, vc-zkp-bbs, vc-zkp-cl
-
enables zkp plugins, required for zkp plugins
- vc-zkp-bbs vc-zkp = vade-evan-bbs
-
dedicated vc handlers
- vc-zkp-cl vc-zkp = ring, vade-evan-cl
- vade-evan-cl vc-zkp-cl?
-
dummy feature to support vade-evan-cl
- did-read did
-
enables did_resolve related functions and commands
- did-write did
-
enables did_create, did_update related functions and commands
- did-sidetree did = vade-sidetree
-
dedicated did resolvers
- did-substrate did = vade-evan-substrate
- did-universal-resolver did = vade-universal-resolver
- didcomm default c-lib? cli = vade-didcomm
-
enables didcomm message features
- portable default
-
default native setup, vade-evan-cl is disabled currently
Enables portable of vade-didcomm
feature "didcomm"
- vc-jwt vc-zkp = vade-jwt-vc
-
enables JWT signature based VC support
- wasm
-
build to run as wasm file; not compatible with
native
feature, vade-evan-cl is disabled currentlyEnables wasm of vade-didcomm and vade-evan-bbs ^0.2.0
vade-evan-bbs:
feature specific dependencies
feature "vc-zkp-bbs" - sdk
-
defines a feature named
sdk
, this feature should be enabled when plugin is compiled for IN3 sdkEnables sdk of vade-universal-resolver
feature "did-universal-resolver"
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.
- ring vc-zkp-cl?
-
Enables ring ^0.16.19
- vade-evan-bbs vc-zkp-bbs? wasm?
-
Enables vade-evan-bbs ^0.2.0
- clap cli
-
Enables clap ^2.33.1
feature "cli"
- tokio c-lib? cli
-
Enables tokio =1.7.1
- vade-evan-substrate did-substrate?
-
Enables vade-evan-substrate ^0.1.3
feature "did-substrate"
- vade-jwt-vc vc-jwt?
-
Enables vade-jwt-vc ^0.1.0
feature "vc-jwt"
- vade-universal-resolver did-universal-resolver? sdk?
- vade-sidetree did-sidetree?
-
Enables vade-sidetree
feature "did-sidetree"
- vade-didcomm didcomm portable wasm?