caretta-sync/lazy-supplements-core/src/config/mod.rs

15 lines
300 B
Rust
Raw Normal View History

2025-05-24 06:11:00 +09:00
mod node;
2025-05-30 09:26:47 +09:00
use std::path::Path;
use crate::error::Error;
2025-06-01 16:29:35 +09:00
pub use node::{ NodeConfig, RawNodeConfig };
2025-05-30 09:26:47 +09:00
use serde::{Deserialize, Serialize};
2025-05-30 09:26:47 +09:00
use tokio::{fs::File, io::{AsyncReadExt, AsyncWriteExt}};
#[derive(Debug, Deserialize, Serialize)]
pub struct PartialConfig {
node: Option<NodeConfig>,
}
2025-05-24 09:17:45 +09:00