-
Notifications
You must be signed in to change notification settings - Fork 2
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
Chore: bump pubky v0.4, pkarr v3, mainline v5 #277
Conversation
c31bbcd
to
b655aa6
Compare
Cargo.toml
Outdated
base32 = "0.5.1" | ||
blake3 = "1.5.5" | ||
url = "2.5.4" | ||
async-trait = "0.1.84" |
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.
Axum 0.8.1 does not re-export async_trait
anymore
|
||
pub struct EventProcessor { | ||
http_client: Client, |
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.
🔥
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.
IMO, apart from being against using specific "branches" or "revisions" when it comes to deps, rather than just using their latest cargo version, as it's just creating some eventual headache while not providing much right now, it looks good!
src/lib.rs
Outdated
@@ -20,5 +20,4 @@ pub use events::processor::EventProcessor; | |||
pub use reindex::reindex; | |||
pub use setup::setup; | |||
|
|||
#[macro_use] |
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.
hmmm why is this not needed anymore?
src/routes/macros.rs
Outdated
@@ -5,12 +5,3 @@ macro_rules! register_routes { | |||
$(.route($path, axum::routing::get($handler)))* | |||
}; | |||
} | |||
|
|||
/// Transforms a "swagger-like" endpoint to "axum-like" manipulating &'static str |
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 utopia start supporting axum-like routes?
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.
Yes. Well, the other way around, Axum started supporting Utoipa-like endpoints.
Agree. This is needed for deps with fixes that are yet unreleased. We will use the standard tag by crates.io version once these release.
There is no other way to make this work 🤔 First commit in this PR is coming from unmerged #276, maybe this is creating some confusion. |
There is still some issues when using the watcher binary with a standalone homeserver over testnet. Will wait for a fix on |
cc81415
to
048f4f8
Compare
048f4f8
to
03fca35
Compare
Updated all pubky deps to the latest release candidates. Fixed all breaking Pubky core APIs.
TODO:
client
to request/events
to homeserver.mainline::Testnet::new(10)
bugPre-submission Checklist
cargo test
.cargo bench