2020-10-30 23:02:57 +00:00
|
|
|
use std::error::Error;
|
2020-10-30 22:53:03 +00:00
|
|
|
|
|
|
|
#[tokio::main]
|
|
|
|
async fn main () -> Result <(), Box <dyn Error>> {
|
2020-10-30 23:36:32 +00:00
|
|
|
let opt = ptth::server::Opt {
|
|
|
|
root: "/home/user".into (),
|
|
|
|
};
|
|
|
|
|
|
|
|
ptth::server::main (opt).await
|
2020-10-30 22:53:03 +00:00
|
|
|
}
|