X-Git-Url: https://git.r.bdr.sh/rbdr/page/blobdiff_plain/f07392253d4db57964eae389dab219c963dd4c95..d843a0b2c2590b96781a6c12af6c856b8056bf64:/Cargo.toml diff --git a/Cargo.toml b/Cargo.toml index c148552..ebec913 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,27 @@ [package] name = "page" -version = "1.3.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" ], +]