diff --git a/Cargo.lock b/Cargo.lock index 55ac7d9..0e82a0d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -82,7 +82,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "dstore" -version = "0.1.0" +version = "0.1.2" dependencies = [ "bytes 1.0.0", "futures-core", diff --git a/Cargo.toml b/Cargo.toml index 326a54c..432f1ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dstore" -version = "0.1.0" +version = "0.1.2" authors = ["Devdutt Shenoi "] license = "Apache-2.0" description = "A partially distributed storage framework, using the two-layer architecture." @@ -16,4 +16,4 @@ tonic = "0.3" prost = "0.6" [build-dependencies] -tonic-build = "0.3.0" \ No newline at end of file +tonic-build = "0.3.0" diff --git a/examples/global.rs b/examples/global.rs index 144af59..9793be3 100644 --- a/examples/global.rs +++ b/examples/global.rs @@ -1,4 +1,4 @@ -use dstore::global::Global; +use dstore::Global; use std::error::Error; /// Start Global server on defined IP:PORT address diff --git a/examples/local.rs b/examples/local.rs index 38706a3..689a6e4 100644 --- a/examples/local.rs +++ b/examples/local.rs @@ -1,5 +1,5 @@ use bytes::Bytes; -use dstore::local::Local; +use dstore::Local; use std::{ error::Error, io::{self, stdin, BufRead, Write}, diff --git a/src/lib.rs b/src/lib.rs index e1367b4..a7c08b2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,5 +19,8 @@ mod dstore_proto { /// Maximum size of contents in a gRPC packet as per standard pub const MAX_BYTE_SIZE: usize = 4_194_304; -pub mod global; -pub mod local; +mod global; +mod local; + +pub use global::Global; +pub use local::Local;