]> git.r.bdr.sh - rbdr/page/blob - Cargo.toml
Add the packaging steps + manual
[rbdr/page] / Cargo.toml
1 [package]
2 name = "page"
3 version = "1.3.1"
4 edition = "2021"
5 license = "AGPL-3.0-or-later"
6 description = "Command line tool to generate a static website and gemini capsule from a directory with gemtext."
7 homepage = "https://r.bdr.sh/page.html"
8 authors = ["Rubén Beltrán del Río <page@r.bdr.sh>"]
9
10 [dependencies]
11
12 [profile.release]
13 strip = true
14 lto = true
15 panic = "abort"
16
17 [package.metadata.generate-rpm]
18 assets = [
19 { source = "target/release/page", dest = "/usr/bin/page", mode = "755" },
20 { source = "man/page.1", dest = "/usr/share/man/man1/page.1", mode = "644" },
21 ]
22
23 [package.metadata.deb]
24 assets = [
25 ["target/release/page", "/usr/bin/page", "755" ],
26 ["man/page.1", "/usr/share/man/man1/page.1", "644" ],
27 ]