-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
42 lines (36 loc) · 1.33 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
[package]
name = "mpd-internetradio-destuck"
description = "Fix mpd getting stuck on internet radio when the daily disconnect happens"
version = "0.2.6"
license = "MIT"
repository = "https://github.com/EdJoPaTo/mpd-internetradio-destuck"
authors = ["EdJoPaTo <mpd-internetradio-destuck-rust@edjopato.de>"]
edition = "2021"
[lints.rust]
unsafe_code = "forbid"
[lints.clippy]
pedantic = "warn"
nursery = "warn"
[profile.release]
codegen-units = 1
lto = true
[dependencies]
mpd = "0.1"
# https://crates.io/crates/cargo-deb
[package.metadata.deb]
depends = ""
maintainer-scripts = "systemd/system/"
systemd-units = {}
assets = [
["target/release/mpd-internetradio-destuck", "/usr/bin/", "755"],
["LICENSE", "/usr/share/licenses/mpd-internetradio-destuck/", "644"],
["README.md", "/usr/share/doc/mpd-internetradio-destuck/", "644"],
]
# https://crates.io/crates/cargo-generate-rpm
[package.metadata.generate-rpm]
assets = [
{ source = "target/release/mpd-internetradio-destuck", dest = "/usr/bin/", mode = "755" },
{ source = "LICENSE", dest = "/usr/share/licenses/mpd-internetradio-destuck/", mode = "644", doc = true },
{ source = "README.md", dest = "/usr/share/doc/mpd-internetradio-destuck/", mode = "644", doc = true },
{ source = "systemd/system/service", dest = "/usr/lib/systemd/system/mpd-internetradio-destuck.service", mode = "644" },
]