forked from lavina/lavina
1
0
Fork 0
lavina/crates
Nikita Vilunov b23c18a5ec Merge branch 'main' into async-scoped 2023-10-03 13:12:57 +02:00
..
lavina-core Merge branch 'main' into async-scoped 2023-10-03 13:12:57 +02:00
mgmt-api add management API endpoints 2023-09-24 22:59:34 +02:00
projection-irc Merge branch 'main' into async-scoped 2023-10-02 22:59:58 +02:00
projection-xmpp Merge branch 'main' into async-scoped 2023-10-02 22:59:58 +02:00
proto-irc read config path from cli args 2023-09-22 17:24:36 +02:00
proto-xmpp xmpp: fix parsing of unknown elements in messages 2023-10-03 00:17:48 +02: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.