diff --git a/Cargo.lock b/Cargo.lock index 9e2e63a..187504c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,15 +2,6 @@ # It is not intended for manual editing. version = 3 -[[package]] -name = "aho-corasick" -version = "0.7.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc936419f96fa211c1b9166887b38e5e40b19958e5b895be7c1f93adec7071ac" -dependencies = [ - "memchr", -] - [[package]] name = "anyhow" version = "1.0.66" @@ -35,12 +26,6 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53" -[[package]] -name = "cc" -version = "1.0.78" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a20104e2335ce8a659d6dd92a51a767a0c062599c73b343fd152cb401e828c3d" - [[package]] name = "cfg-if" version = "1.0.0" @@ -104,13 +89,11 @@ name = "kanban-tui" version = "0.1.0" dependencies = [ "anyhow", - "cc", "crossterm", "int-enum", "serde", "serde_json", "thiserror", - "tree-sitter", "tui", ] @@ -139,12 +122,6 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "memchr" -version = "2.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" - [[package]] name = "mio" version = "0.8.5" @@ -224,23 +201,6 @@ dependencies = [ "bitflags", ] -[[package]] -name = "regex" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e076559ef8e241f2ae3479e36f97bd5741c0330689e217ad51ce2c76808b868a" -dependencies = [ - "aho-corasick", - "memchr", - "regex-syntax", -] - -[[package]] -name = "regex-syntax" -version = "0.6.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "456c603be3e8d448b072f410900c09faf164fbce2d480456f50eea6e25f9c848" - [[package]] name = "ryu" version = "1.0.11" @@ -360,16 +320,6 @@ dependencies = [ "serde", ] -[[package]] -name = "tree-sitter" -version = "0.20.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4423c784fe11398ca91e505cdc71356b07b1a924fc8735cfab5333afe3e18bc" -dependencies = [ - "cc", - "regex", -] - [[package]] name = "tui" version = "0.19.0" diff --git a/Cargo.toml b/Cargo.toml index 04c45c7..9b24982 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,8 +12,4 @@ serde = { version = "1.0.148" , features = [ "derive" ] } serde_json = "1.0.89" int-enum = "0.5.0" thiserror = "1" -anyhow = "1" -tree-sitter = "0.20.9" - -[build-dependencies] -cc="*" +anyhow = "1" \ No newline at end of file diff --git a/README.org b/README.org index 951d44c..428483d 100644 --- a/README.org +++ b/README.org @@ -1,4 +1,12 @@ #+OPTIONS: toc:nil -* Kanban TUI -Using *tui-rs* to build a kanban board +* About + +This ia a Rust powered TUI Kanban Board built using the [[https://github.com/fdehau/tui-rs][tui-rs]] library. It has +vim-friendly keybindings and while not the most featureful experience, it's fast +and gets the job done. You can save your TODOs in your project's root as either +a json file or a SQLite database. + +* Installing + +Clone this repository, then simply run ~cargo build~ or ~cargo run~ diff --git a/src/lib.rs b/src/lib.rs index 35828e3..36766b7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,9 +1,7 @@ mod app; mod ui; mod input; -mod treesitter; pub use app::*; pub use ui::draw; pub use input::handle_input; -pub use treesitter::compile_md_grammar; diff --git a/src/treesitter.rs b/src/treesitter.rs deleted file mode 100644 index 8105654..0000000 --- a/src/treesitter.rs +++ /dev/null @@ -1,6 +0,0 @@ -use tree_sitter::{Parser, Language}; -use std::path::PathBuf; - -pub fn compile_md_grammar() { -} -