Antti / rust-amqp

AMQP client in pure rust. Corresponds to rabbitmq spec.
MIT License
249 stars 45 forks source link

AMQPError is private #41

Closed emk closed 7 years ago

emk commented 8 years ago

Thank you for your work on AMQP bindings for Rust! I'm looking forward to using these in a project soon.

I noticed (while trying to set up error-chain) that the AMQPError and AMQPResult type are never exported from the amqp crate. This makes it difficult to store them inside other error types and propagate them up the call chain.

This could be fixed by adding pub use amqp_error::AMQPError; to your lib.rs file. I'd be happy to prepare a PR if you're interested.

emk commented 8 years ago

This is actually fixed in debd11195a74aa576a58aabfb1577de8ddd04a03, but it hasn't been released to crates.io yet.

Antti commented 7 years ago

It is released in v0.0.20.

emk commented 7 years ago

Thank you!