style: move migra toml constant
This commit is contained in:
parent
def6534fd1
commit
285d1778b4
1 changed files with 2 additions and 6 deletions
|
@ -4,12 +4,6 @@ use serde::{Deserialize, Serialize};
|
||||||
use std::path::{Path, PathBuf};
|
use std::path::{Path, PathBuf};
|
||||||
use std::{env, fs, io};
|
use std::{env, fs, io};
|
||||||
|
|
||||||
//===========================================================================//
|
|
||||||
// Default values for optional manifest variables //
|
|
||||||
//===========================================================================//
|
|
||||||
|
|
||||||
pub(crate) const MIGRA_TOML_FILENAME: &str = "Migra.toml";
|
|
||||||
|
|
||||||
//===========================================================================//
|
//===========================================================================//
|
||||||
// Internal Config Utils / Macros //
|
// Internal Config Utils / Macros //
|
||||||
//===========================================================================//
|
//===========================================================================//
|
||||||
|
@ -204,6 +198,8 @@ impl MigrationsConfig {
|
||||||
// Main config //
|
// Main config //
|
||||||
//===========================================================================//
|
//===========================================================================//
|
||||||
|
|
||||||
|
pub(crate) const MIGRA_TOML_FILENAME: &str = "Migra.toml";
|
||||||
|
|
||||||
#[derive(Debug, Serialize, Deserialize)]
|
#[derive(Debug, Serialize, Deserialize)]
|
||||||
pub(crate) struct Config {
|
pub(crate) struct Config {
|
||||||
#[serde(skip)]
|
#[serde(skip)]
|
||||||
|
|
Reference in a new issue