fingerd: use structs from proto, fix clippy lints
Build and test / build (push) Successful in 1m37s
Build and test / check (push) Successful in 1m50s
Build and test / test (push) Successful in 2m10s
Build and test / docs (push) Successful in 3m10s

This commit is contained in:
2026-02-12 11:05:05 +09:00
parent 23d2611bff
commit 2c646af236
3 changed files with 53 additions and 350 deletions
+3 -3
View File
@@ -3,9 +3,9 @@ use serde::{Deserialize, Serialize};
use zlink::{ReplyError, service::MethodReply};
use crate::{
proto::{WhodStatusUpdate, WhodUserEntry},
proto::{WhodStatusUpdate, WhodUserEntry, finger_protocol::FingerResponseUserEntry},
server::{
fingerd::{self, FingerUserEntry},
fingerd::{self},
rwhod::RwhodStatusStore,
},
};
@@ -76,7 +76,7 @@ pub enum VarlinkFingerClientResponse {
Finger(VarlinkFingerResponse),
}
pub type VarlinkFingerResponse = Vec<Option<FingerUserEntry>>;
pub type VarlinkFingerResponse = Vec<Option<FingerResponseUserEntry>>;
#[derive(Debug, Clone, PartialEq, ReplyError)]
#[zlink(interface = "no.ntnu.pvv.roowho2.finger")]