X-Git-Url: https://git.r.bdr.sh/rbdr/blog/blobdiff_plain/ce17f0a9b30a6a1b9eaf1b97ddbfc43355e5355a..HEAD:/Cargo.toml?ds=sidebyside diff --git a/Cargo.toml b/Cargo.toml index 00721e8..4c2c652 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,10 @@ 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" +authors = ["Rubén Beltrán del Río "] [dependencies] time = { version = "0.3.34", features = ["macros", "formatting"] } @@ -12,3 +16,15 @@ serde_json = "1.0.114" 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" }, +] + +[package.metadata.deb] +assets = [ + ["target/release/blog", "/usr/bin/blog", "755" ], + ["man/blog.1", "/usr/share/man/man1/blog.1", "644" ], +]