diff --git a/.env b/.env deleted file mode 100644 index 3dfb2dc..0000000 --- a/.env +++ /dev/null @@ -1,4 +0,0 @@ -DEBUG=1 -TESTING=0 -SECRET_KEY='hello:)' -DATABASE_URL='postgres:/' \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index 4989b7e..8cd30c3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "itconfig" -version = "0.2.1" +version = "0.2.2" authors = ["Dmitriy Pleshevskiy "] description = "Easy build a configs from environment variables and use it in globally." categories = ["config", "web-programming"] diff --git a/README.md b/README.md index 8a6318a..6755b6c 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ use dotenv::dotenv; config! { DATABASE_URL: bool, - HOST: String => "127.0.0.1", + HOST: String => "127.0.0.1".to_string(), } fn main () {