phab-grpc 0.0.1

Phab GRPC server to serve phabricator tasks content.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use tonic::transport::Server;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
  let address = "127.0.0.1:8787".parse().unwrap();

  println!("Server running on {}", address);

  Server::builder()
    .add_service(lib::task_service::new())
    .serve(address)
    .await?;

  return Ok(());
}