♻️ refactor(rules): remove credentials config
- remove unused credentials configuration - remove credentials file setting/getting logic - rename config file to rules.toml
This commit is contained in:
committed by
Jeremiah Russell
parent
f3f3e22458
commit
2fa7cd21ab
@@ -84,6 +84,15 @@ fn get_logging(level: log::LevelFilter) -> env_logger::Builder {
|
||||
}
|
||||
|
||||
fn get_config() -> Result<Rules> {
|
||||
// let settings = Config::builder()
|
||||
// // Add in `./Settings.toml`
|
||||
// .add_source(config::File::with_name("examples/simple/Settings"))
|
||||
// // Add in settings from the environment (with a prefix of APP)
|
||||
// // Eg.. `APP_DEBUG=1 ./target/app` would set the `debug` key
|
||||
// .add_source(config::Environment::with_prefix("APP"))
|
||||
// .build()
|
||||
// .unwrap();
|
||||
|
||||
match Rules::load() {
|
||||
Ok(c) => Ok(c),
|
||||
Err(_) => {
|
||||
|
||||
Reference in New Issue
Block a user