Compare commits

..

No commits in common. "bbdc35061c6a12b97334a3ce8f2abc38e7037211" and "c7c47e4a7350d21eb6b64840dab430967e89b936" have entirely different histories.

8 changed files with 21 additions and 16 deletions

17
Cargo.lock generated
View File

@ -3034,7 +3034,7 @@ dependencies = [
[[package]]
name = "letterbox-notmuch"
version = "0.17.19"
version = "0.17.18"
dependencies = [
"itertools",
"log",
@ -3049,7 +3049,7 @@ dependencies = [
[[package]]
name = "letterbox-procmail2notmuch"
version = "0.17.19"
version = "0.17.18"
dependencies = [
"anyhow",
"clap",
@ -3062,7 +3062,7 @@ dependencies = [
[[package]]
name = "letterbox-server"
version = "0.17.19"
version = "0.17.18"
dependencies = [
"ammonia",
"anyhow",
@ -3080,9 +3080,10 @@ dependencies = [
"futures 0.3.31",
"headers",
"html-escape",
"letterbox-notmuch 0.17.19",
"letterbox-shared 0.17.19",
"letterbox-notmuch 0.17.18",
"letterbox-shared 0.17.18",
"linkify",
"log",
"lol_html",
"mailparse",
"maplit",
@ -3120,10 +3121,10 @@ dependencies = [
[[package]]
name = "letterbox-shared"
version = "0.17.19"
version = "0.17.18"
dependencies = [
"build-info",
"letterbox-notmuch 0.17.19",
"letterbox-notmuch 0.17.18",
"regex",
"serde",
"sqlx",
@ -3133,7 +3134,7 @@ dependencies = [
[[package]]
name = "letterbox-web"
version = "0.17.19"
version = "0.17.18"
dependencies = [
"build-info",
"build-info-build",

View File

@ -8,7 +8,7 @@ authors = ["Bill Thiede <git@xinu.tv>"]
edition = "2021"
license = "UNLICENSED"
publish = ["xinu"]
version = "0.17.19"
version = "0.17.18"
repository = "https://git.z.xinu.tv/wathiede/letterbox"
[profile.dev]

View File

@ -27,9 +27,10 @@ css-inline = "0.14.4"
futures = "0.3.31"
headers = "0.4.0"
html-escape = "0.2.13"
letterbox-notmuch = { path = "../notmuch", version = "0.17.19", registry = "xinu" }
letterbox-shared = { path = "../shared", version = "0.17.19", registry = "xinu" }
letterbox-notmuch = { path = "../notmuch", version = "0.17.18", registry = "xinu" }
letterbox-shared = { path = "../shared", version = "0.17.18", registry = "xinu" }
linkify = "0.10.0"
log = "0.4.27"
lol_html = "2.3.0"
mailparse = "0.16.1"
maplit = "1.0.2"

View File

@ -9,10 +9,11 @@ use async_graphql::{
use cacher::FilesystemCacher;
use futures::stream;
use letterbox_notmuch::Notmuch;
use log::info;
use serde::{Deserialize, Serialize};
use sqlx::postgres::PgPool;
use tokio::join;
use tracing::{info, instrument};
use tracing::instrument;
#[cfg(feature = "tantivy")]
use crate::tantivy::TantivyConnection;

View File

@ -21,6 +21,7 @@ use cacher::{Cacher, FilesystemCacher};
use css_inline::{CSSInliner, InlineError, InlineOptions};
pub use error::ServerError;
use linkify::{LinkFinder, LinkKind};
use log::{debug, error, info, warn};
use lol_html::{
element, errors::RewritingError, html_content::ContentType, rewrite_str, text,
RewriteStrSettings,
@ -31,7 +32,6 @@ use reqwest::StatusCode;
use scraper::{Html, Selector};
use sqlx::types::time::PrimitiveDateTime;
use thiserror::Error;
use tracing::{debug, error, info, warn};
use url::Url;
use crate::{

View File

@ -3,10 +3,11 @@ use std::collections::HashMap;
use cacher::FilesystemCacher;
use futures::{stream::FuturesUnordered, StreamExt};
use letterbox_shared::compute_color;
use log::{error, info};
use maplit::hashmap;
use scraper::Selector;
use sqlx::postgres::PgPool;
use tracing::{error, info, instrument};
use tracing::instrument;
use url::Url;
use crate::{

View File

@ -5,10 +5,11 @@ use std::{
use letterbox_notmuch::Notmuch;
use letterbox_shared::{compute_color, Rule};
use log::{error, info, warn};
use mailparse::{parse_content_type, parse_mail, MailHeader, MailHeaderMap, ParsedMail};
use memmap::MmapOptions;
use sqlx::{types::Json, PgPool};
use tracing::{error, info, info_span, instrument, warn};
use tracing::{info_span, instrument};
use crate::{
compute_offset_limit,

View File

@ -12,7 +12,7 @@ version.workspace = true
[dependencies]
build-info = "0.0.40"
letterbox-notmuch = { path = "../notmuch", version = "0.17.19", registry = "xinu" }
letterbox-notmuch = { path = "../notmuch", version = "0.17.18", registry = "xinu" }
regex = "1.11.1"
serde = { version = "1.0.219", features = ["derive"] }
sqlx = "0.8.5"