shared: remove debug logging

This commit is contained in:
Bill Thiede 2024-09-19 13:54:47 -07:00
parent 5108213af5
commit e7cbf9cc45
2 changed files with 0 additions and 3 deletions

View File

@ -7,6 +7,5 @@ edition = "2021"
[dependencies]
build-info = "0.0.38"
log = "0.4.22"
notmuch = { path = "../notmuch" }
serde = { version = "1.0.147", features = ["derive"] }

View File

@ -1,7 +1,6 @@
use std::hash::{DefaultHasher, Hash, Hasher};
use build_info::{BuildInfo, VersionControl};
use log::info;
use notmuch::SearchSummary;
use serde::{Deserialize, Serialize};
@ -53,7 +52,6 @@ pub fn build_version(bi: fn() -> &'static BuildInfo) -> String {
format!("v{}{}", bi.crate_info.version, commit(&bi.version_control)).to_string()
}
pub fn compute_color(data: &str) -> String {
info!("compute_color({data})");
let mut hasher = DefaultHasher::new();
data.hash(&mut hasher);
format!("#{:06x}", hasher.finish() % (1 << 24))