Przeglądaj źródła

Expose modules.

Jing Yang 4 lat temu
rodzic
commit
2e8863438d
2 zmienionych plików z 5 dodań i 2 usunięć
  1. 4 1
      kvraft/src/lib.rs
  2. 1 1
      kvraft/src/testing_utils/mod.rs

+ 4 - 1
kvraft/src/lib.rs

@@ -11,4 +11,7 @@ mod client;
 mod common;
 mod server;
 
-mod testing_utils;
+pub mod testing_utils;
+
+pub use client::Clerk;
+pub use server::KVServer;

+ 1 - 1
kvraft/src/testing_utils/mod.rs

@@ -1,3 +1,3 @@
-mod config;
+pub mod config;
 mod memory_persister;
 mod rpcs;