dasha_uwu
9c4d376bec
pass args by ref
2025-09-23 05:16:29 +00:00
dasha_uwu
f51a7b12b5
Make Service.interrupt async
2025-08-28 23:28:20 +05:00
dasha_uwu
b5890b9664
Services refactor
...
Replace structs of Dep<Service> with OnceServices, so each service has a Services reference
Remove service name => Service map
Flatten Services.rooms
Make reqwest Clients lazy initialized (client service)
2025-08-28 23:15:59 +05:00
Jason Volk
ae707ab465
Simplify default Result generics.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-07-24 04:07:27 +00:00
Jason Volk
9b658d86b2
Rename crates.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-04-22 04:37:49 +00:00
Jason Volk
9ce95a7030
make service memory_usage()/clear_cache() async trait
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-03-26 01:33:41 +00:00
June Clementine Strawberry
a1e1f40ded
run cargo fix for rust 2024 changes and rustfmt
...
Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay >
2025-02-23 01:17:45 -05:00
Jason Volk
59c073d0d8
add unconstrained feature to service worker
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-02-16 17:40:21 -05:00
strawberry
77e0b76408
apply new rustfmt.toml changes, fix some clippy lints
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-12-15 01:00:41 -05:00
strawberry
0317cc8cc5
rename conduit to conduwuit finally
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-12-14 22:24:45 -05:00
Jason Volk
bd9a9cc5f8
fix trait-solver issue requiring recursion_limit increase
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-10-25 00:38:45 -04:00
Jason Volk
99ad404ea9
add str traits for split, between, unquote; consolidate tests
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-10-25 00:15:01 -04:00
Jason Volk
2db017af37
simplify service trait bounds and lifetimes
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-10-25 00:15:01 -04:00
Jason Volk
eb6e509ad8
use where clause for long lines
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-08-29 19:19:20 +00:00
Jason Volk
15126ee1b2
additional weak references where applicable
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-07-28 05:59:12 -07:00
Jason Volk
e37ac56dba
use weak references to break services dependency cycle
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-07-28 05:59:12 -07:00
Jason Volk
010e4ee35a
de-global services for services
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-07-27 08:26:42 +00:00
Jason Volk
9b20c6918f
add indirection for circular-dependencies between services
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-07-27 08:26:42 +00:00
Jason Volk
a88f913a17
enrich interface for inter-service referencing
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-07-27 08:26:42 +00:00
Jason Volk
8a2ae401df
convert Client into Service
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-07-27 07:54:05 +00:00
Jason Volk
f465d77ad3
convert Resolver into a Service.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-07-27 07:54:05 +00:00
Jason Volk
2fd6f6b0ff
add polymorphism to Services
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-07-27 07:54:05 +00:00
Jason Volk
c111d2e395
abstract service worker pattern; restart on panic.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-07-14 11:31:39 +00:00
Jason Volk
e125af620e
impl crate::Service for Service
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-07-04 21:06:35 +00:00