]>
Commit | Line | Data |
---|---|---|
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 | authors = ["Rubén Beltrán del Río <blog@r.bdr.sh>"] | |
9 | ||
10 | [dependencies] | |
11 | time = { version = "0.3.34", features = ["macros", "formatting"] } | |
12 | serde = { version = "1.0.197", features = ["derive"] } | |
13 | serde_json = "1.0.114" | |
14 | ||
15 | [profile.release] | |
16 | strip = true | |
17 | lto = true | |
18 | panic = "abort" | |
19 | ||
20 | [package.metadata.generate-rpm] | |
21 | assets = [ | |
22 | { source = "target/release/blog", dest = "/usr/bin/blog", mode = "755" }, | |
23 | { source = "man/blog.1", dest = "/usr/share/man/man1/blog.1", mode = "644" }, | |
24 | ] | |
25 | ||
26 | [package.metadata.deb] | |
27 | assets = [ | |
28 | ["target/release/blog", "/usr/bin/blog", "755" ], | |
29 | ["man/blog.1", "/usr/share/man/man1/blog.1", "644" ], | |
30 | ] |