From 1be699fca4649e3680631c010d02cb924dcc530e Mon Sep 17 00:00:00 2001 From: Arkaprabha Chakraborty Date: Fri, 30 Aug 2024 12:57:42 +0530 Subject: [PATCH] Refactor: Split project into library and binary crates --- Cargo.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 60c5b89..929027a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,13 @@ name = "rustcm-cli" version = "0.1.3-alpha" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[lib] +name = "rustcm_cli" +path = "src/lib.rs" + +[[bin]] +name = "rustcm-cli" +path = "src/main.rs" [dependencies] orion = "0.17.5"