-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
46 lines (41 loc) · 1.72 KB
/
Cargo.toml
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
46
[package]
name = "pofo_adr"
description = "command line reader for the Atari Portfolio address file format."
version = "0.2.8"
authors = ["Simon Rupf <[email protected]>"]
edition = "2021"
license = "GPL-3.0"
repository = "https://github.com/simonrupf/convert2json"
keywords = ["cli", "atari"]
categories = ["command-line-utilities", "encoding"]
rust-version = "1.74"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
chrono = "0.4.38"
codepage-437 = "0.1.0"
crossterm = { version = "=0.27.0", default-features = false, features = ["windows", "events"] } # pin to the version depended on by ratatui
ratatui = { version = "0.27.0", default-features = false, features = ['crossterm'] }
[profile.release]
opt-level = 'z' # Optimize for size.
lto = true
codegen-units = 1
strip = true
[package.metadata.deb]
maintainer = "Simon Rupf <[email protected]>"
license-file = ["LICENSE.md", "0"]
extended-description-file = "README.md"
section = "contrib/utils"
priority = "optional"
assets = [
["target/x86_64-unknown-linux-musl/release/pofo_adr", "usr/bin/", "755" ],
["CHANGELOG.md", "usr/share/doc/pofo_adr/", "644" ],
["LICENSE.md", "usr/share/doc/pofo_adr/", "644" ],
["README.md", "usr/share/doc/pofo_adr/", "644" ],
]
[package.metadata.generate-rpm]
assets = [
{ source = "target/x86_64-unknown-linux-musl/release/pofo_adr", dest = "/usr/bin/pofo_adr", mode = "755" },
{ source = "CHANGELOG.md", dest = "/usr/share/doc/pofo_adr/CHANGELOG.md", mode = "644", doc = true },
{ source = "LICENSE.md", dest = "/usr/share/doc/pofo_adr/LICENSE.md", mode = "644", doc = true },
{ source = "README.md", dest = "/usr/share/doc/pofo_adr/README.md", mode = "644", doc = true },
]