ptth/src/bin/server.rs

11 lines
191 B
Rust

use std::error::Error;
#[tokio::main]
async fn main () -> Result <(), Box <dyn Error>> {
let opt = ptth::server::Opt {
root: "/home/user".into (),
};
ptth::server::main (opt).await
}