2019-12-23 14:56:19 +03:00
|
|
|
[package]
|
|
|
|
name = "itconfig"
|
2020-02-11 22:15:05 +03:00
|
|
|
version = "0.11.2"
|
2019-12-23 14:56:19 +03:00
|
|
|
authors = ["Dmitriy Pleshevskiy <dmitriy@ideascup.me>"]
|
|
|
|
description = "Easy build a configs from environment variables and use it in globally."
|
|
|
|
categories = ["config", "web-programming"]
|
2020-01-16 22:05:35 +03:00
|
|
|
keywords = ["config", "env", "configuration", "environment", "macro"]
|
2019-12-23 14:56:19 +03:00
|
|
|
edition = "2018"
|
|
|
|
license = "MIT"
|
|
|
|
repository = "https://github.com/icetemple/itconfig-rs"
|
|
|
|
homepage = "https://github.com/icetemple/itconfig-rs"
|
|
|
|
documentation = "https://docs.rs/itconfig"
|
|
|
|
readme = "README.md"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2020-01-19 17:33:46 +03:00
|
|
|
failure = { version = "0.1.6", features = ["derive"]}
|
2020-02-08 15:09:58 +03:00
|
|
|
lazy_static = { version = "1.4.0", optional = true }
|
2020-01-21 11:12:12 +03:00
|
|
|
serde_json = { version = "1.0.44", optional = true }
|
2020-01-16 22:05:35 +03:00
|
|
|
|
|
|
|
[features]
|
2020-02-11 09:32:10 +03:00
|
|
|
default = ["macro", "primitives", "static"]
|
2020-02-08 15:09:58 +03:00
|
|
|
|
2020-01-16 22:05:35 +03:00
|
|
|
macro = []
|
2020-02-08 15:09:58 +03:00
|
|
|
static = ["lazy_static"]
|
2020-01-16 22:05:35 +03:00
|
|
|
|
2020-01-21 11:12:12 +03:00
|
|
|
array = ["serde_json"]
|
|
|
|
|
|
|
|
primitives = ["numbers", "bool"]
|
2020-01-19 22:21:34 +03:00
|
|
|
numbers = ["int", "uint", "float"]
|
|
|
|
int = ["i8", "i16", "i32", "i64", "i128", "isize"]
|
|
|
|
uint = ["u8", "u16", "u32", "u64", "u128", "usize"]
|
|
|
|
float = ["f32", "f64"]
|
2020-01-19 20:42:26 +03:00
|
|
|
|
|
|
|
i8 = []
|
|
|
|
i16 = []
|
|
|
|
i32 = []
|
|
|
|
i64 = []
|
|
|
|
i128 = []
|
|
|
|
isize = []
|
|
|
|
|
|
|
|
u8 = []
|
|
|
|
u16 = []
|
|
|
|
u32 = []
|
|
|
|
u64 = []
|
|
|
|
u128 = []
|
|
|
|
usize = []
|
|
|
|
|
|
|
|
f32 = []
|
|
|
|
f64 = []
|
|
|
|
|
|
|
|
bool = []
|
2020-01-21 11:12:12 +03:00
|
|
|
|
|
|
|
|
|
|
|
[badges]
|
|
|
|
travis-ci = { repository = "icetemple/itconfig-rs" }
|
|
|
|
maintenance = { status = "actively-developed" }
|