From f7f39cdd74d3c17a819a94fd26f0c5e2cf1508fd Mon Sep 17 00:00:00 2001 From: etienne-napoleone Date: Tue, 30 Nov 2021 17:05:01 +0900 Subject: [PATCH] refactor: expose the tx module publicly --- src/cache.rs | 2 +- src/lib.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/cache.rs b/src/cache.rs index 09b3dc1..e938b2b 100644 --- a/src/cache.rs +++ b/src/cache.rs @@ -1,7 +1,7 @@ use std::collections::HashMap; use std::time::Instant; -use crate::Tx; +use crate::tx::Tx; type StampedValue = (Instant, Tx); diff --git a/src/lib.rs b/src/lib.rs index 4cb4527..c5203ca 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,9 +1,8 @@ -pub use crate::tx::Tx; pub use crate::watcher::Watcher; mod cache; mod errors; mod responses; mod terra; -mod tx; +pub mod tx; mod watcher;