]> git.scottworley.com Git - tablify/blobdiff - src/main.rs
Make read_rows() strict (not lazy)
[tablify] / src / main.rs
index e7a11a969c037e00a796aafeff6258501ec15e9a..6102247044bcad0a52d3d7bc31e5ce05ce19b461 100644 (file)
@@ -1,3 +1,12 @@
 fn main() {
 fn main() {
-    println!("Hello, world!");
+    print!(
+        "{}",
+        tablify::tablify(
+            &tablify::Config {
+                column_threshold: 2
+            },
+            std::io::stdin()
+        )
+        .unwrap()
+    );
 }
 }