Compare commits
7 Commits
letterbox-
...
1df8ad8a0c
| Author | SHA1 | Date | |
|---|---|---|---|
| 1df8ad8a0c | |||
| bb7721dbc6 | |||
| 475c552e3a | |||
| c85832c93b | |||
| 7e991186fe | |||
| 95d06ec669 | |||
| 84810d8644 |
808
Cargo.lock
generated
808
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -8,7 +8,7 @@ authors = ["Bill Thiede <git@xinu.tv>"]
|
||||
edition = "2021"
|
||||
license = "UNLICENSED"
|
||||
publish = ["xinu"]
|
||||
version = "0.17.56"
|
||||
version = "0.17.57"
|
||||
repository = "https://git.z.xinu.tv/wathiede/letterbox"
|
||||
|
||||
[profile.dev]
|
||||
|
||||
@@ -16,7 +16,7 @@ chrono-tz = "0.10"
|
||||
html2text = "0.16"
|
||||
ammonia = "4.1.0"
|
||||
anyhow = "1.0.98"
|
||||
askama = { version = "0.14.0", features = ["derive"] }
|
||||
askama = { version = "0.15.0", features = ["derive"] }
|
||||
async-graphql = { version = "7", features = ["log", "chrono"] }
|
||||
async-graphql-axum = "7.0.16"
|
||||
async-trait = "0.1.88"
|
||||
@@ -26,7 +26,7 @@ build-info = "0.0.42"
|
||||
cacher = { version = "0.2.0", registry = "xinu" }
|
||||
chrono = "0.4.40"
|
||||
clap = { version = "4.5.37", features = ["derive"] }
|
||||
css-inline = "0.18.0"
|
||||
css-inline = "0.19.0"
|
||||
flate2 = "1.1.2"
|
||||
futures = "0.3.31"
|
||||
headers = "0.4.0"
|
||||
@@ -41,7 +41,7 @@ maplit = "1.0.2"
|
||||
memmap = "0.7.0"
|
||||
quick-xml = { version = "0.38.1", features = ["serialize"] }
|
||||
regex = "1.11.1"
|
||||
reqwest = { version = "0.12.15", features = ["blocking"] }
|
||||
reqwest = { version = "0.13.0", features = ["blocking"] }
|
||||
scraper = "0.25.0"
|
||||
serde = { version = "1.0.219", features = ["derive"] }
|
||||
serde_json = "1.0.140"
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
DROP INDEX IF EXISTS movie_sets_year_id_idx;
|
||||
DROP INDEX IF EXISTS movie_sets_year_idx;
|
||||
@@ -0,0 +1,6 @@
|
||||
-- Add index on movie_sets.year to speed up year-based queries
|
||||
CREATE INDEX movie_sets_year_idx ON movie_sets(year);
|
||||
|
||||
-- Composite index for queries that filter by year and return id
|
||||
-- This can make the subquery in UPDATE statements even faster
|
||||
CREATE INDEX movie_sets_year_id_idx ON movie_sets(year, id);
|
||||
@@ -34,6 +34,7 @@ const TEXT_PLAIN: &'static str = "text/plain";
|
||||
// Inline Askama filters module for template use
|
||||
mod filters {
|
||||
// Usage: {{ items|batch(7) }}
|
||||
#[askama::filter_fn]
|
||||
pub fn batch<T: Clone>(
|
||||
items: &[T],
|
||||
_: &dyn ::askama::Values,
|
||||
|
||||
Reference in New Issue
Block a user