Max Cohen
9a81a49c6a
Add argument parser for the conduit executable
...
Allow fetching the version with `conduit --version`. Fixes #285 .
2024-03-11 09:43:02 -07:00
Matthias Ahouansou
ee7efdd403
typo: as -> has
2024-03-05 20:31:40 +00:00
Matthias Ahouansou
e33d8430d3
typo: colsures -> closures
2024-03-05 20:13:39 +00:00
Matthias Ahouansou
becaad677f
refactor: use async-aware RwLocks and Mutexes where possible
2024-03-05 14:23:59 +00:00
Charles Hall
3e389256f5
switch lint config to manifest-lint
feature
...
I removed some lint configuration in the process:
* `#[allow(clippy::suspicious_else_formatting)]` because nothing is
currently triggering it.
* `#[warn(clippy::future_not_send)]` because some stuff under
`src/lib.rs` is. And also like, auto-trait leakage generally means
this isn't a problem, and if things really need to be `Send`, then
you'll probably know to mark it manually.
* `#[warn(rust_2018_idioms)]` and replaced it with
`explicit-outlives-requirements = "warn"` which is the most useful
lint in that group that isn't enabled by default.
2024-01-26 01:03:55 -08:00
Nyaaori
66bc41125c
refactor: cleanup
2022-11-21 20:50:39 +01:00
Nyaaori
f430b87459
cargo clippy
2022-10-10 14:09:11 +02:00
Timo Kösters
7822a385bb
cargo fmt
2022-10-10 14:02:02 +02:00
Timo Kösters
d5b4754cf4
0 errors left!
2022-10-10 14:02:02 +02:00
Timo Kösters
f47a5cd5d5
cargo fix
2022-10-10 14:02:01 +02:00
Timo Kösters
a4637e2ba1
cargo fmt
2022-10-10 14:02:01 +02:00
Timo Kösters
cff52d7ebb
messing around with arcs
2022-10-10 14:02:00 +02:00
Timo Kösters
face766e0f
messing with trait objects
2022-10-10 14:02:00 +02:00
Timo Kösters
8708cd3b63
431 errors left
2022-10-10 14:02:00 +02:00
Timo Kösters
bd8b616ca0
Fixed more compile time errors
2022-10-10 13:54:00 +02:00
Timo Kösters
057f8364cc
fix: some compile time errors
...
Only 174 errors left!
2022-10-10 13:25:01 +02:00
Jonas Platte
5fa9190117
Simplify return type of most route handlers
2022-02-12 12:56:08 +01:00
Jonas Platte
1f7b3fa4ac
Port from Rocket to axum
2022-02-12 12:56:07 +01:00
Jonas Platte
974c10e739
Move Config out of database module
2022-02-03 13:30:04 +01:00
Jonas Platte
13a48c4577
Clean up mod and use statements in lib.rs and main.rs
2022-01-18 21:04:44 +01:00
Jonas Platte
1c4d9af586
Enable more lints and apply their suggestions
2021-10-13 10:24:39 +02:00
Devin Ragotzy
09a8737f24
Export conduits Config struct and fix clipp warningsy
2021-06-29 16:02:12 -04:00
Jonathan de Jong
268ad3441c
add dbg_macro check
2021-05-05 16:14:49 +00:00
Timo Kösters
abddfc2d2a
Merge remote-tracking branch 'famedly/master' into develop
2021-04-14 10:26:28 +02:00
Jonas Platte
fe744c856f
Upgrade ruma
...
… and refactor push rule code along the way.
2021-04-06 17:38:53 +02:00
Rudi Floren
6309506a48
Allow suspicious_else_formatting
...
This is probably unfixable because it is caused by macros
2021-03-04 15:26:34 +01:00
Timo Kösters
6e5b35ea92
feat: implement appservices
...
this also reverts some stateres changes
2020-12-08 12:59:20 +01:00
Timo
3ff17f69ad
fmt
2020-08-23 16:14:07 +02:00
Timo
04eee089e0
feat: first steps towards joining rooms over federation
2020-08-23 16:14:06 +02:00
Devin Ragotzy
da1c53aaef
Make State struct constructable by lib user
2020-08-03 20:56:14 -04:00
timokoesters
c1c62b7eb4
refactor: put endpoints into modules
2020-07-30 18:34:03 +02:00
Devin Ragotzy
1c6f211933
Create media::FileMeta to represent a file and meta data
2020-07-29 21:33:48 +02:00
Devin Ragotzy
42e0102a2a
Conditionally emit rocket::http_verb attr macros if lib/bin
2020-07-27 18:54:43 +02:00