Skip to content

chore: upgrade lapin to 4.6 and adapt to API changes#160

Open
doubleailes wants to merge 1 commit into
mainfrom
claude/upgrade-lapin-crate-PnIfI
Open

chore: upgrade lapin to 4.6 and adapt to API changes#160
doubleailes wants to merge 1 commit into
mainfrom
claude/upgrade-lapin-crate-PnIfI

Conversation

@doubleailes
Copy link
Copy Markdown
Owner

lapin 4.x bundles its own runtime (via the default tokio feature) and
no longer exposes ConnectionProperties::with_executor/with_reactor, so
the explicit tokio-executor-trait/tokio-reactor-trait wiring is gone.
Heartbeat is now configured through the AMQPUri query field instead of
client_properties (which is no longer publicly mutable). Channel API
methods (basic_publish, basic_consume, queue_declare, queue_bind,
exchange_declare, close) now take ShortString by value, so all string
arguments are converted at call sites.

lapin 4.x bundles its own runtime (via the default tokio feature) and
no longer exposes ConnectionProperties::with_executor/with_reactor, so
the explicit tokio-executor-trait/tokio-reactor-trait wiring is gone.
Heartbeat is now configured through the AMQPUri query field instead of
client_properties (which is no longer publicly mutable). Channel API
methods (basic_publish, basic_consume, queue_declare, queue_bind,
exchange_declare, close) now take ShortString by value, so all string
arguments are converted at call sites.
@qodo-code-review
Copy link
Copy Markdown

ⓘ You've reached your Qodo monthly free-tier limit. Reviews pause until next month — upgrade your plan to continue now, or link your paid account if you already have one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants