X-Git-Url: https://git.r.bdr.sh/rbdr/page/blobdiff_plain/7348f5ea3a1182c9f4a75d05a405e90f9e33797c..3f1aa0b6eb90bd7912a63c6b72c2571486fbc21f:/Cargo.toml?ds=sidebyside diff --git a/Cargo.toml b/Cargo.toml index 997f158..cd627ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,34 @@ [package] name = "page" -version = "1.0.0" +version = "1.4.2" 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] +gema_texto = "1.0.1" + +[dev-dependencies] +test_utilities = { path = "test_utilities" } + +[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" ], +] + +[lints.clippy] +pedantic = "warn"