"Correct" method of creating anchors and links?

I’ve seen a couple examples of creating anchors and links, but had a few issues with them. are there any official examples that work with hdk v43-alpha3?

for example https://github.com/holochain/holochain_anchors has dependency errors.

this is from the tutorials, but doesn’t include syntax for anchors.

can anyone point me in the right direction?

bonus: or how to use a crate from a local folder or a git repo, and i can fix the version issues in the holochain_anchors repository myself

Here is a zome for a anchor: https://github.com/holochain-devcamp/learning-pathways/blob/master/dna/zomes/courses/code/src/course.rs