This repository has been archived by the owner on Oct 30, 2024. It is now read-only.
forked from pcvolkmer/osc-variant
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
56 lines (47 loc) · 1.64 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
47
48
49
50
51
52
53
54
55
56
[package]
name = "osc-variant"
version = "0.8.0"
edition = "2021"
authors = ["Paul-Christian Volkmer <[email protected]>"]
description = "Anwendung zum Anpassen einer OSC-Datei an einen Standort"
license = "MIT"
readme = "README.md"
build = "build.rs"
[workspace]
members = ["libs/deob"]
[dependencies]
clap = { version = "4.5", features = ["std", "help", "usage", "derive", "error-context"], default-features = false }
serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.9"
quick-xml = { version = "0.33", features = ["escape-html", "serialize"], default-features = false }
console = "0.15"
sha256 = "1.5"
dialoguer = "0.11"
indicatif = "0.17"
deob = { path = "./libs/deob", version = "*", optional = true }
zip = { version = "2.1", optional = true }
bytes = "1.6"
[features]
# Requires env var OSB_KEY to be present at build time
unzip-osb = ["dep:deob", "dep:zip"]
[build-dependencies]
clap = { version = "4.5", features = ["std", "help", "usage", "derive", "error-context"], default-features = false }
clap_complete = "4.5"
[profile.release]
opt-level = "s"
codegen-units = 1
lto = "thin"
strip = true
panic = "abort"
[package.metadata.deb]
copyright = "Copyright (c) 2024 Comprehensive Cancer Center Mainfranken"
extended-description = "Anwendung zum Anpassen einer OSC-Datei an einen Standort."
assets = [
["target/release/osc-variant", "usr/bin/", "755"],
["completion/osc-variant.bash", "etc/bash_completion.d/", "644"]
]
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/osc-variant", dest = "/usr/bin/", mode = "755" },
{ source = "completion/osc-variant.bash", dest = "/etc/bash_completion.d/", mode = "644" }
]