From 285d1778b4c19e83df55d25eb6bd26a013c11536 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Sun, 16 May 2021 16:57:20 +0300 Subject: [PATCH] style: move migra toml constant --- migra-cli/src/config.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/migra-cli/src/config.rs b/migra-cli/src/config.rs index 8b20496..6be608d 100644 --- a/migra-cli/src/config.rs +++ b/migra-cli/src/config.rs @@ -4,12 +4,6 @@ use serde::{Deserialize, Serialize}; use std::path::{Path, PathBuf}; use std::{env, fs, io}; -//===========================================================================// -// Default values for optional manifest variables // -//===========================================================================// - -pub(crate) const MIGRA_TOML_FILENAME: &str = "Migra.toml"; - //===========================================================================// // Internal Config Utils / Macros // //===========================================================================// @@ -204,6 +198,8 @@ impl MigrationsConfig { // Main config // //===========================================================================// +pub(crate) const MIGRA_TOML_FILENAME: &str = "Migra.toml"; + #[derive(Debug, Serialize, Deserialize)] pub(crate) struct Config { #[serde(skip)]