polaris/Cargo.toml

70 lines
1.7 KiB
TOML
Raw Normal View History

2016-08-14 08:30:40 +00:00
[package]
2016-08-28 23:42:16 +00:00
name = "polaris"
version = "0.0.0"
2016-08-14 08:30:40 +00:00
authors = ["Antoine Gersant <antoine.gersant@lesforges.org>"]
2018-10-31 06:49:30 +00:00
edition = "2018"
2016-08-14 08:30:40 +00:00
[features]
Replace rocket with actix-web (#116) * Adds actix dependency * Failed attempt at test harness using actix * Fixed test panic * Simplified tests * Run web server in tests * Send json payloads * Static file serving * Default shutdown timeout * Implement version endpoint * Implements #[get("/initial_setup")] * WIP put_settings endpoint * Adds AdminRights extractor * Fixed a bug where AdminRights extractor always failed * Implements collection endpoints * Re-use system runnner between calls * Preserve client headers between API calls (tentative) * Fixed test interferences * Implemented more endpoints * Implemented audio file serving * Fixed sketchy responses * Implements thumbnail endpoint * Login endpoint WIP * Implement login endpoint * Auth support * When using HTTP headers to authenticate, response now includes expected cookies * Tentative fix for server not responding within docker * Adds logging middleware + browse troubleshooting * Tentative fix for path decoding issues * Tentative fix for broken path decoding * Fix routing issues w/ paths * Fixed a bug where auth cookies were sent in every response * More lenient test timeouts * Fixed a bug where recent/random endpoints required trailing slashes * Compilation fix for rocket branch * More useful test matrix * Signed session cookies (#106) * Isolate conflicting dependencies between rocket and actix versions * Removed macOS from test matrix * Glorious test harness simplification * Removed RequestBuilder * Shutdown on ctrl+c * Pin to stable * Drop rocket * Simplify dependencies * Removed stray rocket dependency * Better test matrix * Skip windows build without bundled sqlite * Offload thumbnail creation to a thread pool * Compress responses when possible * Removed unused manage state * Fixed a bug where large playlists could not be saved * Return HTTP 401 for last fm requests without authentication * Web block (#115) * web::block around DB operations * web::block during auth utils hitting DB * Fixed incorrect http response code for missing thumbnail * Removed unecessary unwrap * Eliminated unecessary unwrap
2020-12-15 05:18:44 +00:00
default = ["bundle-sqlite"]
bundle-sqlite = ["libsqlite3-sys"]
Replace rocket with actix-web (#116) * Adds actix dependency * Failed attempt at test harness using actix * Fixed test panic * Simplified tests * Run web server in tests * Send json payloads * Static file serving * Default shutdown timeout * Implement version endpoint * Implements #[get("/initial_setup")] * WIP put_settings endpoint * Adds AdminRights extractor * Fixed a bug where AdminRights extractor always failed * Implements collection endpoints * Re-use system runnner between calls * Preserve client headers between API calls (tentative) * Fixed test interferences * Implemented more endpoints * Implemented audio file serving * Fixed sketchy responses * Implements thumbnail endpoint * Login endpoint WIP * Implement login endpoint * Auth support * When using HTTP headers to authenticate, response now includes expected cookies * Tentative fix for server not responding within docker * Adds logging middleware + browse troubleshooting * Tentative fix for path decoding issues * Tentative fix for broken path decoding * Fix routing issues w/ paths * Fixed a bug where auth cookies were sent in every response * More lenient test timeouts * Fixed a bug where recent/random endpoints required trailing slashes * Compilation fix for rocket branch * More useful test matrix * Signed session cookies (#106) * Isolate conflicting dependencies between rocket and actix versions * Removed macOS from test matrix * Glorious test harness simplification * Removed RequestBuilder * Shutdown on ctrl+c * Pin to stable * Drop rocket * Simplify dependencies * Removed stray rocket dependency * Better test matrix * Skip windows build without bundled sqlite * Offload thumbnail creation to a thread pool * Compress responses when possible * Removed unused manage state * Fixed a bug where large playlists could not be saved * Return HTTP 401 for last fm requests without authentication * Web block (#115) * web::block around DB operations * web::block during auth utils hitting DB * Fixed incorrect http response code for missing thumbnail * Removed unecessary unwrap * Eliminated unecessary unwrap
2020-12-15 05:18:44 +00:00
ui = ["uuid", "winapi"]
2016-08-19 06:29:27 +00:00
[dependencies]
Replace rocket with actix-web (#116) * Adds actix dependency * Failed attempt at test harness using actix * Fixed test panic * Simplified tests * Run web server in tests * Send json payloads * Static file serving * Default shutdown timeout * Implement version endpoint * Implements #[get("/initial_setup")] * WIP put_settings endpoint * Adds AdminRights extractor * Fixed a bug where AdminRights extractor always failed * Implements collection endpoints * Re-use system runnner between calls * Preserve client headers between API calls (tentative) * Fixed test interferences * Implemented more endpoints * Implemented audio file serving * Fixed sketchy responses * Implements thumbnail endpoint * Login endpoint WIP * Implement login endpoint * Auth support * When using HTTP headers to authenticate, response now includes expected cookies * Tentative fix for server not responding within docker * Adds logging middleware + browse troubleshooting * Tentative fix for path decoding issues * Tentative fix for broken path decoding * Fix routing issues w/ paths * Fixed a bug where auth cookies were sent in every response * More lenient test timeouts * Fixed a bug where recent/random endpoints required trailing slashes * Compilation fix for rocket branch * More useful test matrix * Signed session cookies (#106) * Isolate conflicting dependencies between rocket and actix versions * Removed macOS from test matrix * Glorious test harness simplification * Removed RequestBuilder * Shutdown on ctrl+c * Pin to stable * Drop rocket * Simplify dependencies * Removed stray rocket dependency * Better test matrix * Skip windows build without bundled sqlite * Offload thumbnail creation to a thread pool * Compress responses when possible * Removed unused manage state * Fixed a bug where large playlists could not be saved * Return HTTP 401 for last fm requests without authentication * Web block (#115) * web::block around DB operations * web::block during auth utils hitting DB * Fixed incorrect http response code for missing thumbnail * Removed unecessary unwrap * Eliminated unecessary unwrap
2020-12-15 05:18:44 +00:00
actix-files = { version = "0.4" }
actix-web = { version = "3" }
actix-web-httpauth = { version = "0.5.0" }
2020-12-08 08:14:16 +00:00
anyhow = "1.0.35"
2020-05-30 23:56:20 +00:00
ape = "0.3.0"
2020-12-08 08:14:16 +00:00
base64 = "0.13"
Replace rocket with actix-web (#116) * Adds actix dependency * Failed attempt at test harness using actix * Fixed test panic * Simplified tests * Run web server in tests * Send json payloads * Static file serving * Default shutdown timeout * Implement version endpoint * Implements #[get("/initial_setup")] * WIP put_settings endpoint * Adds AdminRights extractor * Fixed a bug where AdminRights extractor always failed * Implements collection endpoints * Re-use system runnner between calls * Preserve client headers between API calls (tentative) * Fixed test interferences * Implemented more endpoints * Implemented audio file serving * Fixed sketchy responses * Implements thumbnail endpoint * Login endpoint WIP * Implement login endpoint * Auth support * When using HTTP headers to authenticate, response now includes expected cookies * Tentative fix for server not responding within docker * Adds logging middleware + browse troubleshooting * Tentative fix for path decoding issues * Tentative fix for broken path decoding * Fix routing issues w/ paths * Fixed a bug where auth cookies were sent in every response * More lenient test timeouts * Fixed a bug where recent/random endpoints required trailing slashes * Compilation fix for rocket branch * More useful test matrix * Signed session cookies (#106) * Isolate conflicting dependencies between rocket and actix versions * Removed macOS from test matrix * Glorious test harness simplification * Removed RequestBuilder * Shutdown on ctrl+c * Pin to stable * Drop rocket * Simplify dependencies * Removed stray rocket dependency * Better test matrix * Skip windows build without bundled sqlite * Offload thumbnail creation to a thread pool * Compress responses when possible * Removed unused manage state * Fixed a bug where large playlists could not be saved * Return HTTP 401 for last fm requests without authentication * Web block (#115) * web::block around DB operations * web::block during auth utils hitting DB * Fixed incorrect http response code for missing thumbnail * Removed unecessary unwrap * Eliminated unecessary unwrap
2020-12-15 05:18:44 +00:00
cookie = { version = "0.14", features = ["signed", "key-expansion"] }
2020-12-08 08:14:16 +00:00
crossbeam-channel = "0.5"
2019-08-06 09:25:47 +00:00
diesel_migrations = { version = "1.4", features = ["sqlite"] }
Replace rocket with actix-web (#116) * Adds actix dependency * Failed attempt at test harness using actix * Fixed test panic * Simplified tests * Run web server in tests * Send json payloads * Static file serving * Default shutdown timeout * Implement version endpoint * Implements #[get("/initial_setup")] * WIP put_settings endpoint * Adds AdminRights extractor * Fixed a bug where AdminRights extractor always failed * Implements collection endpoints * Re-use system runnner between calls * Preserve client headers between API calls (tentative) * Fixed test interferences * Implemented more endpoints * Implemented audio file serving * Fixed sketchy responses * Implements thumbnail endpoint * Login endpoint WIP * Implement login endpoint * Auth support * When using HTTP headers to authenticate, response now includes expected cookies * Tentative fix for server not responding within docker * Adds logging middleware + browse troubleshooting * Tentative fix for path decoding issues * Tentative fix for broken path decoding * Fix routing issues w/ paths * Fixed a bug where auth cookies were sent in every response * More lenient test timeouts * Fixed a bug where recent/random endpoints required trailing slashes * Compilation fix for rocket branch * More useful test matrix * Signed session cookies (#106) * Isolate conflicting dependencies between rocket and actix versions * Removed macOS from test matrix * Glorious test harness simplification * Removed RequestBuilder * Shutdown on ctrl+c * Pin to stable * Drop rocket * Simplify dependencies * Removed stray rocket dependency * Better test matrix * Skip windows build without bundled sqlite * Offload thumbnail creation to a thread pool * Compress responses when possible * Removed unused manage state * Fixed a bug where large playlists could not be saved * Return HTTP 401 for last fm requests without authentication * Web block (#115) * web::block around DB operations * web::block during auth utils hitting DB * Fixed incorrect http response code for missing thumbnail * Removed unecessary unwrap * Eliminated unecessary unwrap
2020-12-15 05:18:44 +00:00
futures-util = { version = "0.3" }
2017-09-22 04:32:42 +00:00
getopts = "0.2.15"
Replace rocket with actix-web (#116) * Adds actix dependency * Failed attempt at test harness using actix * Fixed test panic * Simplified tests * Run web server in tests * Send json payloads * Static file serving * Default shutdown timeout * Implement version endpoint * Implements #[get("/initial_setup")] * WIP put_settings endpoint * Adds AdminRights extractor * Fixed a bug where AdminRights extractor always failed * Implements collection endpoints * Re-use system runnner between calls * Preserve client headers between API calls (tentative) * Fixed test interferences * Implemented more endpoints * Implemented audio file serving * Fixed sketchy responses * Implements thumbnail endpoint * Login endpoint WIP * Implement login endpoint * Auth support * When using HTTP headers to authenticate, response now includes expected cookies * Tentative fix for server not responding within docker * Adds logging middleware + browse troubleshooting * Tentative fix for path decoding issues * Tentative fix for broken path decoding * Fix routing issues w/ paths * Fixed a bug where auth cookies were sent in every response * More lenient test timeouts * Fixed a bug where recent/random endpoints required trailing slashes * Compilation fix for rocket branch * More useful test matrix * Signed session cookies (#106) * Isolate conflicting dependencies between rocket and actix versions * Removed macOS from test matrix * Glorious test harness simplification * Removed RequestBuilder * Shutdown on ctrl+c * Pin to stable * Drop rocket * Simplify dependencies * Removed stray rocket dependency * Better test matrix * Skip windows build without bundled sqlite * Offload thumbnail creation to a thread pool * Compress responses when possible * Removed unused manage state * Fixed a bug where large playlists could not be saved * Return HTTP 401 for last fm requests without authentication * Web block (#115) * web::block around DB operations * web::block during auth utils hitting DB * Fixed incorrect http response code for missing thumbnail * Removed unecessary unwrap * Eliminated unecessary unwrap
2020-12-15 05:18:44 +00:00
http = "0.2.2"
2020-05-30 23:56:20 +00:00
id3 = "0.5.1"
libsqlite3-sys = { version = "0.18", features = ["bundled", "bundled-windows"], optional = true }
2020-05-30 23:56:20 +00:00
lewton = "0.10.1"
2018-10-07 01:13:44 +00:00
log = "0.4.5"
2020-05-30 23:56:20 +00:00
metaflac = "0.2.3"
mp3-duration = "0.1.9"
mp4ameta = "0.7.1"
num_cpus = "1.13.0"
2020-08-07 10:45:43 +00:00
opus_headers = "0.1.2"
Replace rocket with actix-web (#116) * Adds actix dependency * Failed attempt at test harness using actix * Fixed test panic * Simplified tests * Run web server in tests * Send json payloads * Static file serving * Default shutdown timeout * Implement version endpoint * Implements #[get("/initial_setup")] * WIP put_settings endpoint * Adds AdminRights extractor * Fixed a bug where AdminRights extractor always failed * Implements collection endpoints * Re-use system runnner between calls * Preserve client headers between API calls (tentative) * Fixed test interferences * Implemented more endpoints * Implemented audio file serving * Fixed sketchy responses * Implements thumbnail endpoint * Login endpoint WIP * Implement login endpoint * Auth support * When using HTTP headers to authenticate, response now includes expected cookies * Tentative fix for server not responding within docker * Adds logging middleware + browse troubleshooting * Tentative fix for path decoding issues * Tentative fix for broken path decoding * Fix routing issues w/ paths * Fixed a bug where auth cookies were sent in every response * More lenient test timeouts * Fixed a bug where recent/random endpoints required trailing slashes * Compilation fix for rocket branch * More useful test matrix * Signed session cookies (#106) * Isolate conflicting dependencies between rocket and actix versions * Removed macOS from test matrix * Glorious test harness simplification * Removed RequestBuilder * Shutdown on ctrl+c * Pin to stable * Drop rocket * Simplify dependencies * Removed stray rocket dependency * Better test matrix * Skip windows build without bundled sqlite * Offload thumbnail creation to a thread pool * Compress responses when possible * Removed unused manage state * Fixed a bug where large playlists could not be saved * Return HTTP 401 for last fm requests without authentication * Web block (#115) * web::block around DB operations * web::block during auth utils hitting DB * Fixed incorrect http response code for missing thumbnail * Removed unecessary unwrap * Eliminated unecessary unwrap
2020-12-15 05:18:44 +00:00
percent-encoding = "2.1"
2020-12-08 08:14:16 +00:00
pbkdf2 = "0.6"
2019-08-06 09:25:47 +00:00
rand = "0.7"
2020-01-19 01:39:13 +00:00
rayon = "1.3"
2020-05-30 23:56:20 +00:00
regex = "1.3.9"
Replace rocket with actix-web (#116) * Adds actix dependency * Failed attempt at test harness using actix * Fixed test panic * Simplified tests * Run web server in tests * Send json payloads * Static file serving * Default shutdown timeout * Implement version endpoint * Implements #[get("/initial_setup")] * WIP put_settings endpoint * Adds AdminRights extractor * Fixed a bug where AdminRights extractor always failed * Implements collection endpoints * Re-use system runnner between calls * Preserve client headers between API calls (tentative) * Fixed test interferences * Implemented more endpoints * Implemented audio file serving * Fixed sketchy responses * Implements thumbnail endpoint * Login endpoint WIP * Implement login endpoint * Auth support * When using HTTP headers to authenticate, response now includes expected cookies * Tentative fix for server not responding within docker * Adds logging middleware + browse troubleshooting * Tentative fix for path decoding issues * Tentative fix for broken path decoding * Fix routing issues w/ paths * Fixed a bug where auth cookies were sent in every response * More lenient test timeouts * Fixed a bug where recent/random endpoints required trailing slashes * Compilation fix for rocket branch * More useful test matrix * Signed session cookies (#106) * Isolate conflicting dependencies between rocket and actix versions * Removed macOS from test matrix * Glorious test harness simplification * Removed RequestBuilder * Shutdown on ctrl+c * Pin to stable * Drop rocket * Simplify dependencies * Removed stray rocket dependency * Better test matrix * Skip windows build without bundled sqlite * Offload thumbnail creation to a thread pool * Compress responses when possible * Removed unused manage state * Fixed a bug where large playlists could not be saved * Return HTTP 401 for last fm requests without authentication * Web block (#115) * web::block around DB operations * web::block during auth utils hitting DB * Fixed incorrect http response code for missing thumbnail * Removed unecessary unwrap * Eliminated unecessary unwrap
2020-12-15 05:18:44 +00:00
rustfm-scrobble = "1.1"
2020-05-30 23:59:59 +00:00
serde = { version = "1.0.111", features = ["derive"] }
serde_derive = "1.0.111"
serde_json = "1.0.53"
2020-05-31 00:11:32 +00:00
simplelog = "0.8.0"
2020-05-30 23:59:59 +00:00
thiserror = "1.0.19"
Replace rocket with actix-web (#116) * Adds actix dependency * Failed attempt at test harness using actix * Fixed test panic * Simplified tests * Run web server in tests * Send json payloads * Static file serving * Default shutdown timeout * Implement version endpoint * Implements #[get("/initial_setup")] * WIP put_settings endpoint * Adds AdminRights extractor * Fixed a bug where AdminRights extractor always failed * Implements collection endpoints * Re-use system runnner between calls * Preserve client headers between API calls (tentative) * Fixed test interferences * Implemented more endpoints * Implemented audio file serving * Fixed sketchy responses * Implements thumbnail endpoint * Login endpoint WIP * Implement login endpoint * Auth support * When using HTTP headers to authenticate, response now includes expected cookies * Tentative fix for server not responding within docker * Adds logging middleware + browse troubleshooting * Tentative fix for path decoding issues * Tentative fix for broken path decoding * Fix routing issues w/ paths * Fixed a bug where auth cookies were sent in every response * More lenient test timeouts * Fixed a bug where recent/random endpoints required trailing slashes * Compilation fix for rocket branch * More useful test matrix * Signed session cookies (#106) * Isolate conflicting dependencies between rocket and actix versions * Removed macOS from test matrix * Glorious test harness simplification * Removed RequestBuilder * Shutdown on ctrl+c * Pin to stable * Drop rocket * Simplify dependencies * Removed stray rocket dependency * Better test matrix * Skip windows build without bundled sqlite * Offload thumbnail creation to a thread pool * Compress responses when possible * Removed unused manage state * Fixed a bug where large playlists could not be saved * Return HTTP 401 for last fm requests without authentication * Web block (#115) * web::block around DB operations * web::block during auth utils hitting DB * Fixed incorrect http response code for missing thumbnail * Removed unecessary unwrap * Eliminated unecessary unwrap
2020-12-15 05:18:44 +00:00
time = "0.2"
2019-08-06 09:25:47 +00:00
toml = "0.5"
ureq = "1.5"
2020-01-17 09:17:23 +00:00
url = "2.1"
2020-12-08 07:24:57 +00:00
[dependencies.diesel]
version = "1.4.5"
default_features = false
features = ["libsqlite3-sys", "r2d2", "sqlite"]
2020-12-08 07:06:50 +00:00
[dependencies.image]
version = "0.23.12"
default_features = false
features = ["bmp", "gif", "jpeg", "png"]
2017-05-31 05:45:27 +00:00
[target.'cfg(windows)'.dependencies]
uuid = { version="0.8", optional = true }
winapi = { version = "0.3.3", features = ["winuser", "libloaderapi", "shellapi", "errhandlingapi"], optional = true }
2018-01-06 22:31:48 +00:00
2017-05-31 05:45:27 +00:00
[target.'cfg(unix)'.dependencies]
2019-10-01 16:22:25 +00:00
sd-notify = "0.1.0"
2017-05-31 05:45:27 +00:00
unix-daemonize = "0.1.2"
2020-01-17 10:37:33 +00:00
[dev-dependencies]
headers = "0.3"