X-Git-Url: https://git.r.bdr.sh/rbdr/page/blobdiff_plain/0a7a1f274b3fa8469e7078332aa493f3ae653f08..9e6d4cf2e3feb2a9e526c36139257bae1252f344:/Cargo.toml diff --git a/Cargo.toml b/Cargo.toml index ca22de1..ebec913 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,27 @@ [package] name = "page" -version = "1.1.0" +version = "1.3.1" edition = "2021" +license = "AGPL-3.0-or-later" +description = "Command line tool to generate a static website and gemini capsule from a directory with gemtext." +homepage = "https://r.bdr.sh/page.html" +authors = ["Rubén Beltrán del Río "] [dependencies] + +[profile.release] +strip = true +lto = true +panic = "abort" + +[package.metadata.generate-rpm] +assets = [ + { source = "target/release/page", dest = "/usr/bin/page", mode = "755" }, + { source = "man/page.1", dest = "/usr/share/man/man1/page.1", mode = "644" }, +] + +[package.metadata.deb] +assets = [ + ["target/release/page", "/usr/bin/page", "755" ], + ["man/page.1", "/usr/share/man/man1/page.1", "644" ], +]