fix: add to_snake_case_string dependency and fix imports and type mismatch
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
This commit is contained in:
@@ -61,6 +61,7 @@ utoipa-swagger-ui = { version = "9.0.2", features = ["axum"] }
|
|||||||
uzers = "0.12.1"
|
uzers = "0.12.1"
|
||||||
which = "8.0.0"
|
which = "8.0.0"
|
||||||
xdg = "2.5.2"
|
xdg = "2.5.2"
|
||||||
|
to_snake_case_string = { path = "./macros" }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tempfile = "3.3.0"
|
tempfile = "3.3.0"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ use crate::services::compression_service::CompressionService;
|
|||||||
use crate::services::error::CoreError;
|
use crate::services::error::CoreError;
|
||||||
use crate::services::meta_service::MetaService;
|
use crate::services::meta_service::MetaService;
|
||||||
use crate::services::types::{ItemWithContent, ItemWithMeta};
|
use crate::services::types::{ItemWithContent, ItemWithMeta};
|
||||||
use crate::meta_plugin::{get_meta_plugin, MetaPlugin, MetaPluginType};
|
use crate::meta_plugin::{get_meta_plugin_with_config, MetaPlugin, MetaPluginType};
|
||||||
use crate::db::{self, Meta};
|
use crate::db::{self, Meta};
|
||||||
use crate::compression_engine::{get_compression_engine, CompressionType};
|
use crate::compression_engine::{get_compression_engine, CompressionType};
|
||||||
use crate::modes::common::settings_compression_type;
|
use crate::modes::common::settings_compression_type;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
use crate::config::Settings;
|
use crate::config::Settings;
|
||||||
use crate::meta_plugin::{get_meta_plugin, MetaPlugin, MetaPluginType};
|
use crate::meta_plugin::{get_meta_plugin_with_config, MetaPlugin, MetaPluginType};
|
||||||
use crate::modes::common::settings_meta_plugin_types;
|
use crate::modes::common::settings_meta_plugin_types;
|
||||||
use clap::Command;
|
use clap::Command;
|
||||||
use log::debug;
|
use log::debug;
|
||||||
@@ -60,13 +60,13 @@ impl MetaService {
|
|||||||
let options: std::collections::HashMap<String, serde_yaml::Value> = config
|
let options: std::collections::HashMap<String, serde_yaml::Value> = config
|
||||||
.options
|
.options
|
||||||
.iter()
|
.iter()
|
||||||
.map(|(k, v)| (k.clone(), serde_yaml::Value::String(v.clone())))
|
.map(|(k, v)| (k.clone(), v.clone()))
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
let outputs: std::collections::HashMap<String, serde_yaml::Value> = config
|
let outputs: std::collections::HashMap<String, serde_yaml::Value> = config
|
||||||
.outputs
|
.outputs
|
||||||
.iter()
|
.iter()
|
||||||
.map(|(k, v)| (k.clone(), serde_yaml::Value::String(v.clone())))
|
.map(|(k, v)| (k.clone(), v.clone()))
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
(Some(options), Some(outputs))
|
(Some(options), Some(outputs))
|
||||||
|
|||||||
Reference in New Issue
Block a user