2016-08-14 08:30:40 +00:00
|
|
|
[package]
|
2016-08-28 23:42:16 +00:00
|
|
|
name = "polaris"
|
2020-12-14 03:24:06 +00:00
|
|
|
version = "0.0.0"
|
2016-08-14 08:30:40 +00:00
|
|
|
authors = ["Antoine Gersant <antoine.gersant@lesforges.org>"]
|
2022-11-09 03:54:24 +00:00
|
|
|
edition = "2021"
|
2020-12-31 05:41:57 +00:00
|
|
|
build = "build.rs"
|
2016-08-14 08:30:40 +00:00
|
|
|
|
2016-09-17 10:05:31 +00:00
|
|
|
[features]
|
2020-12-15 05:18:44 +00:00
|
|
|
default = ["bundle-sqlite"]
|
2020-12-08 09:22:17 +00:00
|
|
|
bundle-sqlite = ["libsqlite3-sys"]
|
2020-12-31 05:41:57 +00:00
|
|
|
ui = ["native-windows-gui", "native-windows-derive"]
|
2016-09-17 10:05:31 +00:00
|
|
|
|
2016-08-19 06:29:27 +00:00
|
|
|
[dependencies]
|
2022-04-24 20:55:38 +00:00
|
|
|
actix-files = { version = "0.6" }
|
|
|
|
actix-web = { version = "4" }
|
2022-11-09 03:54:24 +00:00
|
|
|
actix-web-httpauth = { version = "0.8" }
|
2022-03-21 02:50:14 +00:00
|
|
|
ape = "0.4.0"
|
2020-12-08 08:14:16 +00:00
|
|
|
base64 = "0.13"
|
2022-04-24 20:55:38 +00:00
|
|
|
branca = "0.10.1"
|
2020-12-08 08:14:16 +00:00
|
|
|
crossbeam-channel = "0.5"
|
2022-08-30 18:47:16 +00:00
|
|
|
diesel_migrations = { version = "2.0", features = ["sqlite"] }
|
2020-12-15 05:18:44 +00:00
|
|
|
futures-util = { version = "0.3" }
|
2022-03-21 02:50:14 +00:00
|
|
|
getopts = "0.2.21"
|
2022-11-09 03:54:24 +00:00
|
|
|
http = "0.2.8"
|
2022-11-25 04:22:35 +00:00
|
|
|
id3 = { git = "https://github.com/polyfloyd/rust-id3.git", rev = "f3b5e3a" } # TODO update after 1.5.0 is released
|
2022-03-21 02:50:14 +00:00
|
|
|
lewton = "0.10.2"
|
2022-08-30 18:47:16 +00:00
|
|
|
libsqlite3-sys = { version = "0.25", features = ["bundled", "bundled-windows"], optional = true }
|
2022-11-09 03:54:24 +00:00
|
|
|
log = "0.4.17"
|
2022-03-21 02:50:14 +00:00
|
|
|
metaflac = "0.2.5"
|
|
|
|
mp3-duration = "0.1.10"
|
|
|
|
mp4ameta = "0.11.0"
|
2022-11-09 03:54:24 +00:00
|
|
|
num_cpus = "1.14.0"
|
2020-08-07 10:45:43 +00:00
|
|
|
opus_headers = "0.1.2"
|
2022-04-24 20:55:38 +00:00
|
|
|
pbkdf2 = "0.11"
|
2022-11-09 03:54:24 +00:00
|
|
|
percent-encoding = "2.2"
|
2022-03-21 02:50:14 +00:00
|
|
|
rand = "0.8"
|
|
|
|
rayon = "1.5"
|
2022-11-09 03:54:24 +00:00
|
|
|
regex = "1.7.0"
|
2021-01-14 03:39:58 +00:00
|
|
|
rustfm-scrobble = "1.1.1"
|
2022-11-09 03:54:24 +00:00
|
|
|
serde = { version = "1.0.147", features = ["derive"] }
|
|
|
|
serde_derive = "1.0.147"
|
|
|
|
serde_json = "1.0.87"
|
|
|
|
simplelog = "0.12.0"
|
|
|
|
thiserror = "1.0.37"
|
|
|
|
tokio = "1.21"
|
2019-08-06 09:25:47 +00:00
|
|
|
toml = "0.5"
|
2022-03-21 02:50:14 +00:00
|
|
|
ureq = "1.5.5"
|
2022-11-09 03:54:24 +00:00
|
|
|
url = "2.3"
|
2016-09-17 10:05:31 +00:00
|
|
|
|
2020-12-08 07:24:57 +00:00
|
|
|
[dependencies.diesel]
|
2022-11-09 03:54:24 +00:00
|
|
|
version = "2.0.2"
|
2020-12-08 07:24:57 +00:00
|
|
|
default_features = false
|
2022-11-10 09:56:46 +00:00
|
|
|
features = ["libsqlite3-sys", "r2d2", "sqlite"]
|
2020-12-08 07:24:57 +00:00
|
|
|
|
2020-12-08 07:06:50 +00:00
|
|
|
[dependencies.image]
|
2022-11-09 03:54:24 +00:00
|
|
|
version = "0.24.4"
|
2020-12-08 07:06:50 +00:00
|
|
|
default_features = false
|
|
|
|
features = ["bmp", "gif", "jpeg", "png"]
|
|
|
|
|
2017-05-31 05:45:27 +00:00
|
|
|
[target.'cfg(windows)'.dependencies]
|
2022-11-09 03:54:24 +00:00
|
|
|
native-windows-gui = {version = "1.0.13", default-features = false, features = ["cursor", "image-decoder", "message-window", "menu", "tray-notification"], optional = true }
|
|
|
|
native-windows-derive = {version = "1.0.5", optional = true }
|
2018-01-06 22:31:48 +00:00
|
|
|
|
2017-05-31 05:45:27 +00:00
|
|
|
[target.'cfg(unix)'.dependencies]
|
2020-12-31 05:41:57 +00:00
|
|
|
daemonize = "0.4.1"
|
2022-11-09 03:54:24 +00:00
|
|
|
sd-notify = "0.4.1"
|
2020-12-31 05:41:57 +00:00
|
|
|
|
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
|
|
|
winres = "0.1"
|
2020-01-17 10:37:33 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2022-11-09 03:54:24 +00:00
|
|
|
actix-test = "0.1.0"
|
2020-11-30 09:26:55 +00:00
|
|
|
headers = "0.3"
|
2020-12-30 04:05:04 +00:00
|
|
|
fs_extra = "1.2.0"
|