From d5559fffcb3e19afc8b398356f0bcd2cbfe8f860 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 17 Mar 2020 14:35:25 +0300 Subject: [PATCH] chore: fix examples --- examples/hyper/Cargo.toml | 6 +----- examples/rocket/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/examples/hyper/Cargo.toml b/examples/hyper/Cargo.toml index edd9f84..16e285f 100644 --- a/examples/hyper/Cargo.toml +++ b/examples/hyper/Cargo.toml @@ -7,7 +7,7 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -itconfig = { path = "../../itconfig" } +itconfig = { path = "../../itconfig", features = ["macro"] } hyper = "0.13.1" serde_json = "1.0" tokio = { version = "0.2", features = ["macros"] } @@ -15,7 +15,3 @@ bytes = "0.5" futures-util = { version = "0.3", default-features = false } pretty_env_logger = "0.3" lazy_static = "1.4.0" - -[features] -default = ["static"] -static = [] diff --git a/examples/rocket/Cargo.toml b/examples/rocket/Cargo.toml index 1a2f366..738d048 100644 --- a/examples/rocket/Cargo.toml +++ b/examples/rocket/Cargo.toml @@ -8,4 +8,4 @@ edition = "2018" [dependencies] rocket = "0.4.2" -itconfig = { path = '../../itconfig' } +itconfig = { path = '../../itconfig', feature = ["macro"] }