it seems using the reqwest blocking client is not allowed in a #[tokio::main] async fn main():
$ cargo run -- cohost2json delan chosts2
2024-10-03T07:19:37.502427Z INFO autost::command::cohost2json: COHOST_COOKIE is set; output will include private or logged-in-only chosts!
The application panicked (crashed).
Message: Cannot drop a runtime in a context where blocking is not allowed. This happens when a runtime is dropped from within an asynchronous context.
Location: /home/delan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.40.0/src/runtime/blocking/shutdown.rs:51
Backtrace omitted.
Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
it seems using the reqwest blocking client is not allowed in a
#[tokio::main] async fn main()
: