remove unused code/deps
This commit is contained in:
10
Cargo.lock
generated
10
Cargo.lock
generated
@ -1049,15 +1049,6 @@ dependencies = [
|
|||||||
"system-deps",
|
"system-deps",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "generational-arena"
|
|
||||||
version = "0.2.9"
|
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
||||||
checksum = "877e94aff08e743b651baaea359664321055749b398adff8740a7399af7796e7"
|
|
||||||
dependencies = [
|
|
||||||
"cfg-if",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "generic-array"
|
name = "generic-array"
|
||||||
version = "0.14.7"
|
version = "0.14.7"
|
||||||
@ -1960,7 +1951,6 @@ dependencies = [
|
|||||||
"capnpc",
|
"capnpc",
|
||||||
"clap",
|
"clap",
|
||||||
"futures",
|
"futures",
|
||||||
"generational-arena",
|
|
||||||
"http",
|
"http",
|
||||||
"oo7",
|
"oo7",
|
||||||
"rand",
|
"rand",
|
||||||
|
|||||||
@ -22,7 +22,6 @@ rusqlite = "0.29.0"
|
|||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
reqwest = { version = "0.12.9", features = ["stream", "rustls-tls-native-roots"]}
|
reqwest = { version = "0.12.9", features = ["stream", "rustls-tls-native-roots"]}
|
||||||
url = { version = "2.4.0", features = ["serde"] }
|
url = { version = "2.4.0", features = ["serde"] }
|
||||||
generational-arena = "0.2.9"
|
|
||||||
tracing = "0.1.37"
|
tracing = "0.1.37"
|
||||||
thiserror = "1.0.49"
|
thiserror = "1.0.49"
|
||||||
regex = "1.9.6"
|
regex = "1.9.6"
|
||||||
|
|||||||
@ -1,49 +0,0 @@
|
|||||||
@0x9663f4dd604afa35;
|
|
||||||
|
|
||||||
enum Status {
|
|
||||||
down @0;
|
|
||||||
degraded @1;
|
|
||||||
up @2;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface WatchHandle {}
|
|
||||||
|
|
||||||
interface OutputChannel {
|
|
||||||
sendMessage @0 (message: Text);
|
|
||||||
sendStatus @1 (status: Status);
|
|
||||||
done @2 ();
|
|
||||||
}
|
|
||||||
|
|
||||||
struct SubscriptionInfo {
|
|
||||||
server @0 :Text;
|
|
||||||
topic @1 :Text;
|
|
||||||
displayName @2 :Text;
|
|
||||||
muted @3 :Bool;
|
|
||||||
readUntil @4 :UInt64;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface Subscription {
|
|
||||||
watch @0 (watcher: OutputChannel, since: UInt64) -> (handle: WatchHandle);
|
|
||||||
publish @1 (message: Text);
|
|
||||||
|
|
||||||
getInfo @2 () -> SubscriptionInfo;
|
|
||||||
updateInfo @3 (value: SubscriptionInfo);
|
|
||||||
updateReadUntil @4 (value: UInt64);
|
|
||||||
|
|
||||||
clearNotifications @5 ();
|
|
||||||
refresh @6 ();
|
|
||||||
}
|
|
||||||
|
|
||||||
struct Account {
|
|
||||||
server @0 :Text;
|
|
||||||
username @1 :Text;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface SystemNotifier {
|
|
||||||
subscribe @0 (server: Text, topic: Text) -> (subscription: Subscription);
|
|
||||||
unsubscribe @1 (server: Text, topic: Text);
|
|
||||||
listSubscriptions @2 () -> (list: List(Subscription));
|
|
||||||
addAccount @3 (account: Account, password: Text);
|
|
||||||
removeAccount @4 (account: Account);
|
|
||||||
listAccounts @5 () -> (list: List(Account));
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user