aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 4c2c65298c068fdf2d2dbb8fda7d17ebc54c18b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[package]
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"] }
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" ],
]