summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSam Tay <sam.chong.tay@gmail.com>2020-06-27 20:33:59 -0700
committerSam Tay <sam.chong.tay@gmail.com>2020-06-27 20:33:59 -0700
commit307e1973e799ace3303184f40aaf5c205194fb33 (patch)
tree6a8f853dcf34b5124f7185e8bf3f6941e6937ff0 /src
parente2814eeccecfb98bd899d2c69bee23cd57541880 (diff)
Add benchmarks for HTML parsing
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs7
-rw-r--r--src/stackexchange/mod.rs3
2 files changed, 9 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
new file mode 100644
index 0000000..e9ffa33
--- /dev/null
+++ b/src/lib.rs
@@ -0,0 +1,7 @@
+pub mod cli;
+pub mod config;
+pub mod error;
+pub mod stackexchange;
+pub mod term;
+pub mod tui;
+pub mod utils;
diff --git a/src/stackexchange/mod.rs b/src/stackexchange/mod.rs
index 2d4feb7..b0e1345 100644
--- a/src/stackexchange/mod.rs
+++ b/src/stackexchange/mod.rs
@@ -1,7 +1,8 @@
mod api;
mod local_storage;
-mod scraper;
mod search;
+// Exposed for benchmarking
+pub mod scraper;
pub use api::{Answer, Question};
pub use local_storage::LocalStorage;