X-Git-Url: https://git.r.bdr.sh/rbdr/blog/blobdiff_plain/d620665f6b2e1ae5db4c98a09e35bd63133ae87f..d26464d12e41e8d53fca8d0e5f9cc6ac03e48f9a:/Cargo.toml diff --git a/Cargo.toml b/Cargo.toml index 38cb47a..4c2c652 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,5 +2,29 @@ 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 "] [dependencies] +time = { version = "0.3.34", features = ["macros", "formatting"] } +serde = { version = "1.0.197", features = ["derive"] } +serde_json = "1.0.114" + +[profile.release] +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" ], +]