Skip to main content

Crate quill

Crate quill 

Source
Expand description

Quill is a lightweight pub/sub topic-matching engine.

It parses hierarchical topics, matches MQTT-style subscription patterns (+ single-level, # multi-level), and routes publishes to matching subscribers via a trie-backed Registry.

This crate intentionally does not provide networking, persistence, QoS, or delivery queues — consumers build those on top of match results.

Structs§

Pattern
A subscription filter that may include wildcards.
Registry
Concurrent registry that maps subscription Patterns to subscriber handles.
Topic
A hierarchical topic path made of non-empty segments.

Enums§

ParseError
Error returned when parsing a Topic or Pattern.
Segment
One segment of a Pattern.

Constants§

DEFAULT_DELIMITER
Default segment delimiter (MQTT-style).