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.
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 theAMQPError
andAMQPResult
type are never exported from theamqp
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 yourlib.rs
file. I'd be happy to prepare a PR if you're interested.