From 4aba55a1b0f2a028818afdb1af7719fc0b077b52 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 27 Apr 2026 06:34:15 +0900 Subject: [PATCH] Cargo.toml: add lib entrypoint --- Cargo.toml | 4 ++++ src/lib.rs | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 src/lib.rs diff --git a/Cargo.toml b/Cargo.toml index 3e0fe09..29f3104 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,6 +50,10 @@ forgejo = ["dep:forgejo-api"] name = "kagami" path = "src/main.rs" +[lib] +name = "kagami" +path = "src/lib.rs" + [profile.release-lto] inherits = "release" strip = true diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..b5fee4b --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,3 @@ +pub mod commands; +pub mod config; +pub mod sources;