aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 005632151996bb2a7b420de802dbbf64cced6673 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[package]
name = "wmap"
version = "1.0.0"
edition = "2024"
license = "AGPL-3.0-or-later"
description = "Command line tool to generate wardley map images from wmap files."
homepage = "https://map.tranquil.services/cli"
authors = ["Rubén Beltrán del Río <map@r.bdr.sh>"]

[dependencies]
lexopt = "0.3.1"
thiserror = "2.0.17"
wmap-parser = "1.0.0"
wmap-renderer = "1.0.0"

[dev-dependencies]

[profile.release]
strip = true
lto = true
panic = "abort"

[package.metadata.generate-rpm]
assets = [
    { source = "target/release/wmap", dest = "/usr/bin/wmap", mode = "755" },
    { source = "man/wmap.1", dest = "/usr/share/man/man1/wmap.1", mode = "644" },
]

[package.metadata.deb]
assets = [
    ["target/release/wmap", "/usr/bin/wmap", "755" ],
    ["man/wmap.1", "/usr/share/man/man1/wmap.1", "644" ],
]

[lints.clippy]
pedantic = { level = "warn", priority = -1 }
all = "deny"
unwrap_used = "deny"
expect_used = "deny"
panic = "deny"
indexing_slicing = "deny"
unreachable = "deny"
undocumented_unsafe_blocks = "deny"
unwrap_in_result = "deny"
ok_expect = "deny"