Cargo.toml: add lib entrypoint

This commit is contained in:
2026-04-27 06:34:15 +09:00
parent 970df2e8c2
commit 4aba55a1b0
2 changed files with 7 additions and 0 deletions
+4
View File
@@ -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