weirdnet-songnotes 0.11.0

SongNotes collaboration: the roles, permissions, links and consent requests for a SongNotes session, built on weirdnet-collab.
Documentation
# weirdnet-songnotes

[![crates.io](https://img.shields.io/crates/v/weirdnet-songnotes.svg)](https://crates.io/crates/weirdnet-songnotes)
[![docs.rs](https://docs.rs/weirdnet-songnotes/badge.svg)](https://docs.rs/weirdnet-songnotes)

SongNotes collaboration: the roles, permissions, links and consent requests for a SongNotes session, built on weirdnet-collab.

Part of [Weirdnet](https://net.weirdbrains.com) by [Weird Brains](https://weirdbrains.com). BSD-3-Clause.

## What it gives you

- **Roles**: Host, Editor, Engineer, Viewer (the default for a new invitee) and Listener, with the permission catalog in `perm`. Recording someone's audio, connecting to it, and recording the talkback need that audio owner's consent; talking needs the local mic switch.
- **Links**: `weirdnet-songnotes://join/<token>` joins a session; `weirdnet-songnotes://collab/<project>/<panel>` opens a panel of a project. Both parse and print, and an unknown panel survives a round trip.
- **`Session`**: start a session, share a link, let people in (directly or after the host approves), ask `can` or `explain` (the reason chain), and turn a "needs consent" answer into a `ConsentRequest` the audio owner can accept.
- **Standalone host mode**: `Session::standalone` and `quick_link` give one host, Viewer as the default role, and host approval for each person.
- **Session clock and transport** (`transport`): the session host is the clock master. Followers learn their clock offset from the exchange with the shortest round trip, and read the plan in beats (a start a lead ahead, tempo changes on bar boundaries), so each app maps beats to its own frames. Followers report themselves as ready, and may ask for start, stop, locate or tempo if they hold `transport.control`. It runs on `/songnotes/transport`, served and called through weirdnet-service.

The rules engine is [weirdnet-collab](https://crates.io/crates/weirdnet-collab); this crate fixes what SongNotes means by a role and a permission.

```sh
cargo run --example session
# a stage app in a few lines: host the transport, follow it from another process
cargo run --example metronome -- host --link /tmp/transport-link --bpm 100 --start-in 2 --tempo-at 10:120
cargo run --example metronome -- follow --link /tmp/transport-link
```