Cargo.toml: add lib entrypoint
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
pub mod commands;
|
||||
pub mod config;
|
||||
pub mod sources;
|
||||
Reference in New Issue
Block a user