doc: fix readme

This commit is contained in:
Dmitriy Pleshevskiy 2019-12-23 14:33:32 +03:00
parent dfdfe73ef1
commit 78fc86e134
3 changed files with 2 additions and 6 deletions

4
.env
View file

@ -1,4 +0,0 @@
DEBUG=1
TESTING=0
SECRET_KEY='hello:)'
DATABASE_URL='postgres:/'

View file

@ -1,6 +1,6 @@
[package]
name = "itconfig"
version = "0.2.1"
version = "0.2.2"
authors = ["Dmitriy Pleshevskiy <dmitriy@ideascup.me>"]
description = "Easy build a configs from environment variables and use it in globally."
categories = ["config", "web-programming"]

View file

@ -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 () {