Skip to content

Commit

Permalink
feat: update yaac to mofa
Browse files Browse the repository at this point in the history
  • Loading branch information
Kilerd committed Jan 29, 2025
1 parent 930fa40 commit 2b80e7f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ provide a featured web framework
- [x] everything of axum
- [ ] automatically swagger api generation
- [x] built-in message mechanism
- [x] environment based configuration system, support environment resolver `${ANY_ENV_VAR}` and path variable `${app.database.name}` powered by [yaac](https://crates.io/crates/yaac)
- [x] environment based configuration system, support environment resolver `${ANY_ENV_VAR}` and path variable `${app.database.name}` powered by [mofa](https://crates.io/crates/mofa)
- [x] logging system
- [x] opt-in prometheus integration
- [x] task system with interval and cron
Expand Down
2 changes: 1 addition & 1 deletion gotcha/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ cron = {version = "0.12.0", optional = true}
chrono = "0.4.23"
http = "0.2"
oas = { version = "0.1", optional = true }
yaac = "0.1"
mofa = "0.1"
axum = {version = "0.7", default-features = false, features = ["form", "json", "query"]}
tower-layer = "0.3.2"
tower-service = "0.3.2"
Expand Down
2 changes: 1 addition & 1 deletion gotcha/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::str::FromStr;

use serde::de::DeserializeOwned;
use serde::{Deserialize, Serialize};
use yaac::{ConfigLoader, EnvironmentSource, FileSource};
use mofa::{ConfigLoader, EnvironmentSource, FileSource};

use crate::error::GotchaError;

Expand Down

0 comments on commit 2b80e7f

Please sign in to comment.