]> git.r.bdr.sh - rbdr/blog/blob - Cargo.toml
90215ed034679b8bdb080a085747275451f94d1c
[rbdr/blog] / Cargo.toml
1 [package]
2 name = "blog"
3 version = "7.0.0"
4 edition = "2021"
5 license = "AGPL-3.0-or-later"
6 description = "Command line tool to author and manage a semi-ephemeralâ„¢ blog with a gemini archive."
7 homepage = "https://r.bdr.sh/blog.html"
8
9 [dependencies]
10 time = { version = "0.3.34", features = ["macros", "formatting"] }
11 serde = { version = "1.0.197", features = ["derive"] }
12 serde_json = "1.0.114"
13
14 [profile.release]
15 strip = true
16 lto = true
17 panic = "abort"
18
19 [package.metadata.generate-rpm]
20 assets = [
21 { source = "target/release/blog", dest = "/usr/bin/blog", mode = "755" },
22 { source = "man/blog.1", dest = "/usr/share/man/man1/blog.1", mode = "644" },
23 ]
24
25 [package.metadata.deb]
26 assets = [
27 { source = "target/release/blog", dest = "/usr/bin/blog", mode = "755" },
28 { source = "man/blog.1", dest = "/usr/share/man/man1/blog.1", mode = "644" },
29 ]