Compare commits

..

No commits in common. "8551f0c75618a960e9d6dae2615efb3f05ec2dd6" and "4ad963c3be6415bd01e1d19d8f335b3364c0edd3" have entirely different histories.

7 changed files with 12 additions and 13 deletions

10
Cargo.lock generated
View File

@ -2509,7 +2509,7 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
[[package]]
name = "letterbox"
version = "0.0.63"
version = "0.0.62"
dependencies = [
"build-info",
"build-info-build",
@ -3024,7 +3024,7 @@ dependencies = [
[[package]]
name = "notmuch"
version = "0.0.63"
version = "0.0.62"
dependencies = [
"itertools 0.10.5",
"log",
@ -3810,7 +3810,7 @@ dependencies = [
[[package]]
name = "procmail2notmuch"
version = "0.0.63"
version = "0.0.62"
dependencies = [
"anyhow",
]
@ -4782,7 +4782,7 @@ dependencies = [
[[package]]
name = "server"
version = "0.0.63"
version = "0.0.62"
dependencies = [
"ammonia",
"anyhow",
@ -4882,7 +4882,7 @@ dependencies = [
[[package]]
name = "shared"
version = "0.0.63"
version = "0.0.62"
dependencies = [
"build-info",
"notmuch",

View File

@ -1,6 +1,6 @@
[package]
name = "notmuch"
version = "0.0.63"
version = "0.0.62"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -1,6 +1,6 @@
[package]
name = "procmail2notmuch"
version = "0.0.63"
version = "0.0.62"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -1,6 +1,6 @@
[package]
name = "server"
version = "0.0.63"
version = "0.0.62"
edition = "2021"
default-run = "server"

View File

@ -1,6 +1,6 @@
use std::collections::HashSet;
use log::{debug, error, info, warn};
use log::{debug, error, info};
use sqlx::{postgres::PgPool, types::time::PrimitiveDateTime};
use tantivy::{
collector::{DocSetCollector, TopDocs},
@ -31,8 +31,7 @@ pub struct TantivyConnection {
fn get_index(db_path: &str) -> Result<Index, TantivyError> {
Ok(match Index::open_in_dir(db_path) {
Ok(idx) => idx,
Err(err) => {
warn!("Failed to open {db_path}: {err}");
Err(_) => {
create_news_db(db_path)?;
Index::open_in_dir(db_path)?
}

View File

@ -1,6 +1,6 @@
[package]
name = "shared"
version = "0.0.63"
version = "0.0.62"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -1,5 +1,5 @@
[package]
version = "0.0.63"
version = "0.0.62"
name = "letterbox"
repository = "https://github.com/seed-rs/seed-quickstart"
authors = ["Bill Thiede <git@xinu.tv>"]