forked from lavina/lavina
Compare commits
No commits in common. "572a0b7b6ac0f3ea68818bc5b5ccd783322ac627" and "ea0377c78abf6ee779af60eab7c15efb3876883f" have entirely different histories.
572a0b7b6a
...
ea0377c78a
|
@ -1,30 +0,0 @@
|
||||||
## Dependency diagram of the project
|
|
||||||
|
|
||||||
```mermaid
|
|
||||||
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.
|
|
|
@ -0,0 +1 @@
|
||||||
|
*.log
|
|
@ -0,0 +1,6 @@
|
||||||
|
insert into users(name)
|
||||||
|
values ('kek'), ('shrek')
|
||||||
|
returning id;
|
||||||
|
|
||||||
|
insert into challenges_plain_password(user_id, password)
|
||||||
|
values (1, 'parolchik1'), (2, 'qwerty123');
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
cargo build
|
||||||
|
./target/debug/lavina 1>test/lavina.stdout.log 2>test/lavina.stderr.log &
|
||||||
|
cargo test
|
||||||
|
kill %1
|
Loading…
Reference in New Issue