doc: fix readme
This commit is contained in:
parent
dfdfe73ef1
commit
78fc86e134
3 changed files with 2 additions and 6 deletions
4
.env
4
.env
|
@ -1,4 +0,0 @@
|
||||||
DEBUG=1
|
|
||||||
TESTING=0
|
|
||||||
SECRET_KEY='hello:)'
|
|
||||||
DATABASE_URL='postgres:/'
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "itconfig"
|
name = "itconfig"
|
||||||
version = "0.2.1"
|
version = "0.2.2"
|
||||||
authors = ["Dmitriy Pleshevskiy <dmitriy@ideascup.me>"]
|
authors = ["Dmitriy Pleshevskiy <dmitriy@ideascup.me>"]
|
||||||
description = "Easy build a configs from environment variables and use it in globally."
|
description = "Easy build a configs from environment variables and use it in globally."
|
||||||
categories = ["config", "web-programming"]
|
categories = ["config", "web-programming"]
|
||||||
|
|
|
@ -13,7 +13,7 @@ use dotenv::dotenv;
|
||||||
|
|
||||||
config! {
|
config! {
|
||||||
DATABASE_URL: bool,
|
DATABASE_URL: bool,
|
||||||
HOST: String => "127.0.0.1",
|
HOST: String => "127.0.0.1".to_string(),
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main () {
|
fn main () {
|
||||||
|
|
Reference in a new issue