Remove proto.rs & move some definitions out of data.rs

This commit is contained in:
Alex Auvolat
2020-04-18 19:30:05 +02:00
parent f41583e1b7
commit bd1618e78e
9 changed files with 52 additions and 62 deletions
+2 -5
View File
@@ -1,6 +1,5 @@
mod data;
mod error;
mod proto;
mod background;
mod membership;
@@ -25,12 +24,10 @@ use std::path::PathBuf;
use std::sync::Arc;
use structopt::StructOpt;
use data::*;
use error::Error;
use membership::Message;
use proto::*;
use membership::*;
use rpc_client::*;
use server::TlsConfig;
use server::{TlsConfig, DEFAULT_TIMEOUT};
#[derive(StructOpt, Debug)]
#[structopt(name = "garage")]