-
Notifications
You must be signed in to change notification settings - Fork 14
deps: bump to iroh@main and irpc@main #128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,13 +86,9 @@ impl HashSpecific for CreateTagMsg { | |
} | ||
} | ||
|
||
#[derive(Debug, Clone)] | ||
pub struct StoreService; | ||
impl irpc::Service for StoreService {} | ||
|
||
#[rpc_requests(StoreService, message = Command, alias = "Msg")] | ||
#[rpc_requests(message = Command, alias = "Msg")] | ||
#[derive(Debug, Serialize, Deserialize)] | ||
pub enum Request { | ||
pub enum BlobsApi { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not quite sure about this rename. Request as the enum of all possible serializable requests seems fine. And calling it BlobsApi creates a bit of confusion with the api module that has the actual friendly api. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Don't mind much. Renamed back to |
||
#[rpc(tx = mpsc::Sender<super::Result<Hash>>)] | ||
ListBlobs(ListRequest), | ||
#[rpc(tx = oneshot::Sender<Scope>, rx = mpsc::Receiver<BatchResponse>)] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this forwarder boilerplate one of the things we can get rid of with the new features of the macro?
Just curious, perfectly reasonable to do this in a subsequent PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup! Removed in the latest commit.