mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-01 20:21:21 +00:00
24 lines
438 B
Rust
24 lines
438 B
Rust
use anyhow::Result;
|
|
|
|
mod config;
|
|
|
|
#[tokio::main]
|
|
async fn main() -> Result<()> {
|
|
let config = config::Config::from_env()?;
|
|
|
|
let report = interop_tests::run_test(
|
|
&config.transport,
|
|
&config.ip,
|
|
config.is_dialer,
|
|
config.test_timeout,
|
|
&config.redis_addr,
|
|
config.sec_protocol,
|
|
config.muxer,
|
|
)
|
|
.await?;
|
|
|
|
println!("{}", serde_json::to_string(&report)?);
|
|
|
|
Ok(())
|
|
}
|