summaryrefslogtreecommitdiffstats
path: root/src/constants.rs
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2020-03-13 01:07:24 -0400
committerGitHub <noreply@github.com>2020-03-13 01:07:24 -0400
commit1968bb14b484e52dd679d91e9f27d0f30a7dd8fd (patch)
treeb812e1f1358582aeaf93df521ac24435d471b239 /src/constants.rs
parentd9747f78e8277d85970bb4e52a8b45035252c157 (diff)
Cleanup before modularity (#84)
* Uptick some crates, update README dependencies * Cleanup before modularity feature. * Fix missing reset zoom on reset * Fixed reset... not resetting search or data displayed * Cleaned up options a tiny bit to make more sense. * Cleaned up some TODOs and the like. * specify only build master branch.
Diffstat (limited to 'src/constants.rs')
-rw-r--r--src/constants.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/constants.rs b/src/constants.rs
index da98c16f..e4c274b4 100644
--- a/src/constants.rs
+++ b/src/constants.rs
@@ -1,3 +1,5 @@
+use lazy_static::lazy_static;
+
// How long to store data.
pub const STALE_MAX_MILLISECONDS: u64 = 600 * 1000; // Keep 10 minutes of data.