diff --git a/dub.json b/dub.json index e93ac11..4936e7e 100755 --- a/dub.json +++ b/dub.json @@ -15,16 +15,5 @@ "hunt-openssl": "~>1.0.5", "hunt-pool": "~>1.0.0", "hunt-redis": "~>1.1.6" - }, - "configurations":[ - { - "name":"default" - }, - { - "name":"normal", - "dependencies": { - "libmemcached": {"version":"~>1.1.1"} - } - } - ] + } } diff --git a/example/source/app.d b/example/source/app.d index 17237e0..a613cfb 100644 --- a/example/source/app.d +++ b/example/source/app.d @@ -10,7 +10,7 @@ struct User { } void main() { - CacheOption option; + CacheOptions option = new CacheOptions(); option.adapter = AdapterType.MEMORY; option.redis.host = "10.1.222.120"; option.redis.password = "foobared";