add (probably messy) support for hot lib reload via admin command

`!admin test test1`

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-04-28 18:29:48 -04:00 committed by June
parent 76c5942b4f
commit b282c1eb6d
6 changed files with 66 additions and 1 deletions

5
Cargo.lock generated
View file

@ -575,6 +575,7 @@ dependencies = [
"ipaddress",
"itertools 0.12.1",
"jsonwebtoken",
"lib",
"log",
"loole",
"lru-cache",
@ -1796,6 +1797,10 @@ version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
[[package]]
name = "lib"
version = "0.1.0"
[[package]]
name = "libc"
version = "0.2.153"