-
Notifications
You must be signed in to change notification settings - Fork 30
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
feat: remove direct reqwest dependency from remote interface #73
Conversation
@@ -1,3 +1,3 @@ | |||
[toolchain] | |||
channel = "1.73.0" | |||
channel = "1.77.2" |
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.
Bumping MSRV for RPITIT
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.
Did you test this on a live database?
Yes, it successfully connects. I was able to send requests as well. |
@@ -171,10 +213,67 @@ async fn basics() { | |||
println!("remote"); | |||
} | |||
|
|||
#[tokio::test] | |||
async fn watch() { |
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.
Added a watch test since this was missing.
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.
LGTM
The
denokv
remote interface currently requires a specific, older version ofreqwest
that makes it difficult for consumers to integrate. This PR introduces aRemoteTransport
andRemoteResponse
trait that allow for embedders to implement this remote over any sort of HTTP transport.