-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
93 lines (78 loc) · 2.21 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[package]
name = "connectr"
version = "1.1.3-rc"
authors = [ "Trevor Bentley <mrmekon@gmail.com>" ]
description = "A super lightweight Spotify controller."
keywords = ["spotify", "connect", "webapi", "systray", "menubar"]
categories = ["api-bindings", "multimedia::audio"]
homepage = "https://github.com/mrmekon/connectr"
repository = "https://github.com/mrmekon/connectr"
documentation = "https://mrmekon.github.io/connectr/connectr/"
license = "Apache-2.0"
readme = "README.md"
include = ["src/**/*", "LICENSE", "README.md", "CHANGELOG"]
[lib]
name = "connectr"
# "dylib" disabled for Windows: https://github.com/rust-lang/rust/issues/53014
crate-type = ["rlib"]
[[bin]]
name = "connectr"
doc = false
[profile.release]
opt-level = 3
debug = false
rpath = false
debug-assertions = false
panic = 'unwind'
[features]
verbose_http = []
mac_white_icon = []
scrobble = ["rustfm-scrobble"]
default = ["scrobble"]
[dependencies]
curl = "0.4.11"
open = "1.2.1"
serde = "1.0.37"
serde_json = "1.0.13"
serde_derive = "1.0"
rust-ini = "0.13"
time = "0.1"
timer = "0.2"
chrono = "0.4"
log = "0.4"
ctrlc = "3.1"
dirs = "2.0"
percent-encoding = "1.0.1"
rustfm-scrobble = {version="0.9.2", optional = true, path = "deps/rustfm-scrobble/"}
[dependencies.fruitbasket]
version = "0.9"
features = ["logging"]
[target."cfg(windows)".dependencies]
#systray = "0.1.1"
#systray = {git = "https://github.com/mrmekon/systray-rs.git"}
systray = {path = "deps/systray-rs", version="0.1.1-connectr"}
[target."cfg(windows)".dependencies.rubrail]
default-features=false
version = "0.9"
[target."cfg(all(unix, not(target_os = \"macos\")))".dependencies]
[target."cfg(all(unix, not(target_os = \"macos\")))".dependencies.rubrail]
default-features = false
version = "0.9"
[target."cfg(target_os = \"macos\")".dependencies]
cocoa = "0.18"
objc-foundation = "0.1"
objc_id = "0.1"
[target."cfg(target_os = \"macos\")".dependencies.rubrail]
version = "0.9"
[target."cfg(target_os = \"macos\")".dependencies.objc]
version = "0.2"
features = ["exception"]
[dev-dependencies]
hyper = "0.11"
futures = "0.1.11"
lazy_static = "1.0"
[package.metadata.release]
sign-commit = false
pre-release-commit-message = "Release {{version}}"
dev-version-ext = "rc"
tag-message = "Release {{version}}"