Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

Revert "feat(harper-lib): create new crate harper-lib"

Elijah Pottera21785fb5eb5
diff --git a/Cargo.toml b/Cargo.toml
index 30d3775d5..839007f17 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,5 +1,5 @@
[workspace]
-members = [ "harper-cli", "harper-core", "harper-dictionary-parsing", "harper-ls", "harper-comments", "harper-wasm", "harper-tree-sitter", "harper-html", "harper-lib"]
+members = [ "harper-cli", "harper-core", "harper-dictionary-parsing", "harper-ls", "harper-comments", "harper-wasm", "harper-tree-sitter", "harper-html"]
resolver = "2"
[profile.release]
diff --git a/harper-lib/Cargo.toml b/harper-lib/Cargo.toml
deleted file mode 100644
index 18de14d36..000000000
--- a/harper-lib/Cargo.toml
+++ /dev/null
@@ -1,6 +0,0 @@
-[package]
-name = "harper-lib"
-version = "0.1.0"
-edition = "2021"
-
-[dependencies]
diff --git a/harper-lib/src/lib.rs b/harper-lib/src/lib.rs
deleted file mode 100644
index b93cf3ffd..000000000
--- a/harper-lib/src/lib.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-pub fn add(left: u64, right: u64) -> u64 {
- left + right
-}
-
-#[cfg(test)]
-mod tests {
- use super::*;
-
- #[test]
- fn it_works() {
- let result = add(2, 2);
- assert_eq!(result, 4);
- }
-}