Module: Unison

Defined in:
lib/unison.rb,
lib/unison/version.rb

Overview

Unison — a Ruby client for the Unison protocol.

This gem is a thin **language binding**, not a re-implementation: the protocol itself (QUIC transport, channel multiplexing, wire framing) lives in the Rust ‘club-unison` crate. The native extension (Magnus) wraps that crate’s ‘ProtocolClient`.

‘Unison::Client` wraps the crate’s ‘ProtocolClient` (connection lifecycle: `new` / `connect` / `connected?` / `disconnect` / `open_channel`), and `Unison::Channel` wraps `UnisonChannel` (`request` / `send_event` / `recv` / `close`). Channel payloads are native Ruby values.

Constant Summary collapse

VERSION =

Gem version. The gem is in scaffold stage; the Unison protocol generation it targets is reported by the native extension (‘Unison.protocol_target`).

"0.1.0"