X-Git-Url: https://git.r.bdr.sh/rbdr/page/blobdiff_plain/8d4fac527ea33456de21933b4632a5bf4abbfc8d..refs/heads/main:/Cargo.toml diff --git a/Cargo.toml b/Cargo.toml index 33b0c29..ebec913 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,27 @@ [package] name = "page" -version = "0.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" ], +]