Revert "(juniper) Clean up uuid and url features."

This reverts commit dcdc03a9b9.
This commit is contained in:
theduke 2017-09-12 11:01:56 +02:00
parent dcdc03a9b9
commit f9d6f2c83f
3 changed files with 4 additions and 12 deletions

View file

@ -22,13 +22,14 @@ path = "benches/bench.rs"
[features]
nightly = []
expose-test-schema = []
default = ["url", "uuid"]
[dependencies]
ordermap = { version = "^0.2.11", features = ["serde-1"] }
serde = { version = "^1.0.8" }
serde_derive = {version="^1.0.8" }
serde_json = { version="^1.0.2", optional = true }
url = { version = "1.5.1", optional = true }
url = { version = "^1.5.1", optional = true }
uuid = { version = "0.5.1", optional = true }
[dev-dependencies]

View file

@ -1,9 +0,0 @@
[tasks.build-verbose]
description = "Runs the rust compiler with verbose output."
command = "cargo"
args = ["build", "--verbose", "--all-features"]
[tasks.test-verbose]
description = "Runs all available tests with verbose output."
command = "cargo"
args = ["test", "--verbose", "--all-features"]

View file

@ -124,10 +124,10 @@ extern crate serde_json;
extern crate ordermap;
#[cfg(feature = "url")]
#[cfg(any(test, feature = "url"))]
extern crate url;
#[cfg(feature = "uuid")]
#[cfg(any(test, feature = "uuid"))]
extern crate uuid;
use std::borrow::Cow;