X-Git-Url: https://git.r.bdr.sh/rbdr/blog/blobdiff_plain/6352ebb0eb4cb83240c6d4998e0ef1375b041191..3b38f8e96d1f77e1502890d4195fb74c78673050:/Cargo.toml diff --git a/Cargo.toml b/Cargo.toml index fd5bcea..8810838 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,8 +2,22 @@ name = "blog" version = "7.0.0" edition = "2021" +license = "AGPL-3.0-or-later" +description = "Command line tool to author and manage a semi-ephemeral™ blog with a gemini archive." +homepage = "https://r.bdr.sh/blog.html" [dependencies] time = { version = "0.3.34", features = ["macros", "formatting"] } serde = { version = "1.0.197", features = ["derive"] } serde_json = "1.0.114" + +[profile.release] +strip = true +lto = true +panic = "abort" + +[package.metadata.generate-rpm] +assets = [ + { source = "target/release/blog", dest = "/usr/bin/blog", mode = "755" }, + { source = "man/blog.1", dest = "/usr/share/man/man1/blog.1", mode = "644" }, +]