Skip to main content

Crate hiss_macros

Crate hiss_macros 

Source
Expand description

Proc-macro companion to the hiss crate.

This crate provides exactly one macro, noise!: it takes a Noise handshake pattern written in the notation of the Noise specification and a concrete suite, and generates a pair of documented, sans-io, type-state handshake state machines for it.

Use it through the hiss crate, which re-exports it as hiss::noise! — the generated code references ::hiss paths and needs that crate in scope.

Macros§

noise
Generate a sans-io Noise handshake from its pattern, written in the notation of the Noise specification.