2020-10-31 01:35:39 +00:00
|
|
|
use std::{
|
2021-10-02 19:07:55 +00:00
|
|
|
iter::FromIterator,
|
2020-10-31 01:35:39 +00:00
|
|
|
};
|
2020-11-07 00:30:56 +00:00
|
|
|
|
2020-10-31 01:35:39 +00:00
|
|
|
#[tokio::main]
|
2021-03-05 03:17:56 +00:00
|
|
|
async fn main () -> anyhow::Result <()> {
|
2020-11-07 00:30:56 +00:00
|
|
|
tracing_subscriber::fmt::init ();
|
2020-11-08 17:58:14 +00:00
|
|
|
|
2021-10-02 19:07:55 +00:00
|
|
|
let args = Vec::from_iter (std::env::args_os ());
|
2020-10-31 01:35:39 +00:00
|
|
|
|
2021-10-02 19:07:55 +00:00
|
|
|
ptth_file_server::main (&args).await
|
2020-10-31 01:35:39 +00:00
|
|
|
}
|