Quill
A small Rust library for pub/sub topic matching — hierarchical topics, MQTT-style wildcards (+ / #), and a concurrent trie-backed registry.
No networking, wire protocols, persistence, or delivery queues. Quill is the matching core you embed in a broker or event system.
Install
Usage
use ;
let registry = new;
registry.subscribe;
registry.subscribe;
let topic = parse.unwrap;
let matched = registry.matching;
// matched contains "subscriber-a" and "subscriber-b" (order unspecified)
registry.fanout;
API
| Type | Role |
|---|---|
Topic |
Parsed hierarchical path (sensors/kitchen/temp) |
Pattern |
Subscription filter with + and # |
Registry |
Concurrent subscribe / unsubscribe / match / fan-out |
License
Licensed under the Apache License, Version 2.0.