forked from lavina/lavina
1
0
Fork 0
lavina/crates
Nikita Vilunov 47195f5eee add crates/README.md 2023-10-01 18:15:37 +02:00
..
lavina-core split irc proejction into a separate crate (#18) 2023-09-30 23:34:35 +00:00
mgmt-api add management API endpoints 2023-09-24 22:59:34 +02:00
projection-irc split xmpp projection into a separate crate 2023-10-01 01:47:18 +02:00
projection-xmpp split xmpp projection into a separate crate 2023-10-01 01:47:18 +02:00
proto-irc read config path from cli args 2023-09-22 17:24:36 +02:00
proto-xmpp xmpp: rewrite bind request parser as a coroutine (#12) 2023-09-30 16:02:18 +00:00
README.md add crates/README.md 2023-10-01 18:15:37 +02:00

README.md

Dependency diagram of the project

graph TD;
    lavina-->mgmt-api;
    lavina-->projection-irc;
    lavina-->projection-xmpp;
    lavina-->lavina-core;

    projection-irc-->proto-irc;
    projection-irc-->lavina-core;
    
    projection-xmpp-->proto-xmpp;
    projection-xmpp-->lavina-core;

    sim-irc-->proto-irc;
    sim-irc-->mgmt-api;

    sim-xmpp-->proto-xmpp;
    sim-xmpp-->mgmt-api;

    workspace-->lavina;
    workspace-->sim-irc;
    workspace-->sim-xmpp;

A few rules:

  • Only projections should be direct deps of lavina, there is no need to depend on proto-* crates.
  • On the other hand, projections should not be dependencies of sim-* crates.
  • lavina-core does not depend on protocol-specific crates.