Skip to content

peercap: rename PeerCap -> Name, improve docs#133

Merged
npry merged 6 commits intomainfrom
npry/peercap.cleanup
Apr 24, 2026
Merged

peercap: rename PeerCap -> Name, improve docs#133
npry merged 6 commits intomainfrom
npry/peercap.cleanup

Conversation

@npry
Copy link
Copy Markdown
Collaborator

@npry npry commented Apr 23, 2026

(Separable part of another different change)

Also support splitting Names to a domain component and a cap component.

@npry npry force-pushed the npry/peercap.cleanup branch from 5c00695 to 9994a59 Compare April 23, 2026 20:55
Copy link
Copy Markdown
Collaborator

@dylan-tailscale dylan-tailscale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit, lgtm!

Comment thread ts_peercapability/src/lib.rs Outdated
npry added 5 commits April 24, 2026 17:43
Signed-off-by: Nathan Perry <nathan@tailscale.com>
Change-Id: Ifde55e6a767a1519f5bec837e8bce1c26a6a6964
Signed-off-by: Nathan Perry <nathan@tailscale.com>
Change-Id: Ib353675f77d2f8dca88beaa4f6269e126a6a6964
Signed-off-by: Nathan Perry <nathan@tailscale.com>
Change-Id: I15b6bc8f5fd51d4e4c6bcb5c454dfeb36a6a6964
This is an internal util crate, we don't actually want to publish it.

Signed-off-by: Nathan Perry <nathan@tailscale.com>
Change-Id: I1ec77462ed7736b72a58c746562b5df66a6a6964
Signed-off-by: Nathan Perry <nathan@tailscale.com>
Change-Id: Ic32e9f6d5099b35429c46de097e7f8ce6a6a6964
@npry npry force-pushed the npry/peercap.cleanup branch from 9994a59 to 5530f62 Compare April 24, 2026 21:43
Also support `split`ting `Name`s to a domain component and a cap
component.

Signed-off-by: Nathan Perry <nathan@tailscale.com>
Change-Id: Ib27bf503e995f01e758b6ab493a4e5f66a6a6964
@npry npry force-pushed the npry/peercap.cleanup branch from 5530f62 to 3746bb8 Compare April 24, 2026 21:44
@npry npry merged commit 3746bb8 into main Apr 24, 2026
18 checks passed
@npry npry deleted the npry/peercap.cleanup branch April 24, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants