name = "blog"
version = "7.0.0"
edition = "2021"
+license = "AGPL-3.0-or-later"
+description = "Command line tool to author and manage a semi-ephemeral™ blog with a gemini archive."
+homepage = "https://r.bdr.sh/blog.html"
+authors = ["Rubén Beltrán del Río <blog@r.bdr.sh>"]
[dependencies]
time = { version = "0.3.34", features = ["macros", "formatting"] }
strip = true
lto = true
panic = "abort"
+
+[package.metadata.generate-rpm]
+assets = [
+ { source = "target/release/blog", dest = "/usr/bin/blog", mode = "755" },
+ { source = "man/blog.1", dest = "/usr/share/man/man1/blog.1", mode = "644" },
+]
+
+[package.metadata.deb]
+assets = [
+ ["target/release/blog", "/usr/bin/blog", "755" ],
+ ["man/blog.1", "/usr/share/man/man1/blog.1", "644" ],
+]