[−][src]Function hdk::api::version
pub fn version() -> ZomeApiResult<String>
Returns the current version
of the HDK as "semver" value (eg. "1.2.3-alpha4"), or
version_hash
, a 32-byte MD5 of the holochain-rust source, dependencies and build environment,
such as "w7vyf4x77b1539rxakcqni8zdidpg7gy". If the build environment is not Nix (and thus no
out
or HDK_HASH
environment variable is not supplied during build), a hash consisting of all
"0" is returned.