holochain-rust
holochain-rust copied to clipboard
HDK Proc Macro package name
As we spoke last week, we have yet to come up with a resolution to the issue of the hdk proc macro package name. As we have it, the proc macro hdk is named hdk_proc_macro but since we are moving towards publishing it to crates.io we need o decide on the naming scheme. Should this be changed to hdk_v2 or should we keep it as hdk_proc_macro.
The benefits of hdk_proc_macro are that developers won't have to change the name in their toml however, the naming scheme is a bit weird as compared to hdk_v2
As an alternative we could merge #1645 before we do the crates.io release and just pretend the original HDK never happened?
I've just realized this isn't really possible in current Rust. Proc macro crates can only export proc macros so it is impossible to have a single HDK crate. This kinda sucks I think
For this reason though I argue strongly against hdk_v2 since consumers will always need both crates. Eventually we can just remove the old macros from the hdk crate