summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorstuebinm2021-09-04 16:07:30 +0200
committerstuebinm2021-09-04 16:07:30 +0200
commit3e24f64d9652bebe49838f244f1e1bfa2cc45f17 (patch)
treece5e2d827f5ebbec4fa16fa4d15982b6c12b0594 /util
parent69d6d0b95a232d47b0e3eca06e5b8da6d0d7c64c (diff)
crate name: util → isabelle2unicode
Diffstat (limited to 'util')
-rw-r--r--util/Cargo.toml10
-rw-r--r--util/src/main.rs23
2 files changed, 0 insertions, 33 deletions
diff --git a/util/Cargo.toml b/util/Cargo.toml
deleted file mode 100644
index 70d66bf..0000000
--- a/util/Cargo.toml
+++ /dev/null
@@ -1,10 +0,0 @@
-[package]
-name = "util"
-version = "0.1.0"
-authors = ["stuebinm <stuebinm@disroot.org>"]
-edition = "2018"
-
-# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
-
-[dependencies]
-isabelle-unicode = { path = "../isabelle-unicode" }
diff --git a/util/src/main.rs b/util/src/main.rs
deleted file mode 100644
index 4670b38..0000000
--- a/util/src/main.rs
+++ /dev/null
@@ -1,23 +0,0 @@
-use std::io;
-use std::io::BufRead;
-
-use isabelle_unicode::PrettyUnicode;
-
-
-fn main() {
-
- let stdin = io::stdin();
-
- stdin.lock()
- .lines()
- .filter_map(|line| match line {
- Ok(line) if line.trim().is_empty()
- => Some("\n".to_string()),
- Ok(line)
- => line.to_pretty_unicode(),
- Err(_)
- => None
- })
- .for_each(|line| print!("{}", line));
-
-}