server/
server.rs

1
2
3
4
5
6
7
8
use entrust_agent::server;
use std::thread;
use std::time::Duration;

fn main() {
    thread::spawn(|| server::run(None));
    thread::sleep(Duration::from_secs(600));
}