-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
104 lines (95 loc) · 2.63 KB
/
Copy pathCargo.toml
File metadata and controls
104 lines (95 loc) · 2.63 KB
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
94
95
96
97
98
99
100
101
102
103
104
[package]
name = "koko"
description = "Self-hosted media server."
license.workspace = true
version.workspace = true
authors.workspace = true
edition.workspace = true
readme.workspace = true
documentation.workspace = true
homepage.workspace = true
repository.workspace = true
publish.workspace = true
build = "../../build.rs"
categories = [
"multimedia",
"multimedia::audio",
"multimedia::images",
"multimedia::video",
]
keywords = [
"koko",
"media-server",
"self-hosted",
]
include = [
"/assets",
"/crates/server/src",
"/tests",
"/README.md",
"/LICENSE",
]
[lib]
name = "koko"
path = "src/lib.rs"
[[bin]]
name = "koko"
path = "src/main.rs"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ["cfg(tarpaulin_include)"] }
[features]
default = [
"native-secret-store",
"tray",
]
native-secret-store = ["dep:keyring"]
tray = [
"dep:objc2-core-foundation",
"dep:tao",
"dep:tray-icon",
"dep:webbrowser",
]
[dependencies]
# ensure deps are compatible: https://www.gnu.org/licenses/license-list.en.html#GPLCompatibleLicenses
base64 = "=0.23.1"
bcrypt = "=0.19.3"
cargo_metadata = "=0.23.1"
chrono = "=0.4.45"
config = "=0.15.25"
diesel = { version = "=2.3.12", features = ["sqlite"] }
diesel_migrations = "=2.3.2"
dirs = "=6.0.0"
fern = { version = "=0.7.1", features = ["colored"] }
image = "=0.25.10"
imohash = "=0.1.2"
jsonwebtoken = { version = "=11.0.0", features = ["rust_crypto"] }
keyring = { version = "=4.1.6", features = ["cli"], optional = true }
keyring-core = { version = "=1.0.0", features = ["sample"] }
libsqlite3-sys = { version = "=0.37.0", features = ["bundled"] } # this is needed for proper linking
log = "=0.4.33"
once_cell = "=1.21.4"
rand = "=0.10.2"
rcgen = "=0.14.9"
regex = "=1.13.1"
reqwest = { version = "=0.13.4", default-features = false, features = ["json", "query", "rustls"] }
rocket = { version = "=0.5.1", features = ["tls"] }
rocket_okapi = { version = "=0.9.0", features = ["swagger", "rapidoc"] }
rocket_sync_db_pools = { version = "=0.1.0", features = ["diesel_sqlite_pool"] }
schemars = "=0.8.22"
serde = "=1.0.229"
serde_json = "=1.0.151"
serde_yaml = "=0.9.34"
sha2 = "=0.11.0"
strsim = "=0.11.1"
tao = { version = "=0.37.0", optional = true }
tokio = { version = "=1.53.1", features = ["full"] }
tmdb_client = "=1.8.0"
tray-icon = { version = "=0.24.2", optional = true }
tvdb4 = "=0.1.0"
webbrowser = { version = "=1.2.4", optional = true }
# common = { path = "../common" }
[target.'cfg(target_os = "macos")'.dependencies]
objc2-core-foundation = { version = "=0.3.2", optional = true }
[dev-dependencies]
async-std.workspace = true
rstest.workspace = true