From 905ef822ba4d8dfb0fbb23a7e00edcc36b5a98ec Mon Sep 17 00:00:00 2001 From: Kirill Date: Tue, 9 Dec 2025 22:11:59 +0300 Subject: [PATCH] conf: Rewrite config to work with lib.rs and main.rs --- Cargo.lock | 2 +- Cargo.toml | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4918a32..c69fd41 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3,5 +3,5 @@ version = 4 [[package]] -name = "Learning" +name = "learning" version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml index 6119f2f..04cfe8d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,14 @@ [package] -name = "Learning" +name = "learning" version = "0.1.0" edition = "2024" -[dependencies] +[lib] +name = "learning" +path = "src/lib.rs" + +[[bin]] +name = "learning-bin" +path = "src/main.rs" + +[dependencies]