style: move migra toml constant

This commit is contained in:
Dmitriy Pleshevskiy 2021-05-16 16:57:20 +03:00
parent def6534fd1
commit 285d1778b4
1 changed files with 2 additions and 6 deletions

View File

@ -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)]