version negotiation

This commit is contained in:
nora 2022-02-09 11:25:16 +01:00
parent b2e6e96698
commit b77788329c
5 changed files with 107 additions and 8 deletions

View file

@ -1,6 +1,18 @@
use anyhow::Result;
use tracing::Level;
#[tokio::main]
async fn main() -> Result<()> {
setup_tracing();
amqp_transport::do_thing_i_guess().await
}
fn setup_tracing() {
tracing_subscriber::fmt()
.with_level(true)
.with_timer(tracing_subscriber::fmt::time::time())
.with_ansi(true)
.with_thread_names(true)
.with_max_level(Level::DEBUG)
.init()
}