HDK-Rust Discussion

Discuss about the Holochain HDK-Rust and ways you are using HDK-Rust.

Anyone know the story of the native_type part of hdk::entry?

In the declaration we see

       // $(native_type: $native_type:ty,)*

commented out. And in the example farther down the page, native_type isn’t present.

Yet in the description, native_type is listed as as item 4 of the “7 component parts” of the entry macro:

native_type: native_type references a given Rust struct, which provides a clear schema for entries of this type.

This is deprecated and will go away eventually but the docs will be improved soon, if you want a preview please see: https://github.com/holochain/holochain-rust/pull/1645