From a8717d26aab387cdffd0f16ddeb4ff1030302215 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Fri, 23 Dec 2016 10:47:04 -0500 Subject: [PATCH] Fix features --- postgres-shared/Cargo.toml | 2 ++ postgres/Cargo.toml | 12 ++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/postgres-shared/Cargo.toml b/postgres-shared/Cargo.toml index a14d4ce5..3231f9c9 100644 --- a/postgres-shared/Cargo.toml +++ b/postgres-shared/Cargo.toml @@ -7,6 +7,7 @@ authors = ["Steven Fackler "] with-bit-vec = ["bit-vec"] with-chrono = ["chrono"] with-eui48 = ["eui48"] +with-rustc-serialize = ["rustc-serialize"] with-serde_json = ["serde_json"] with-time = ["time"] with-uuid = ["uuid"] @@ -20,6 +21,7 @@ postgres-protocol = "0.2" bit-vec = { version = "0.4", optional = true } chrono = { version = "0.2.14", optional = true } eui48 = { version = "0.1", optional = true } +rustc-serialize = { version = "0.3", optional = true } serde_json = { version = ">= 0.6, < 0.9", optional = true } time = { version = "0.1.14", optional = true } uuid = { version = ">= 0.1, < 0.4", optional = true } diff --git a/postgres/Cargo.toml b/postgres/Cargo.toml index d65f474d..8c4a7790 100644 --- a/postgres/Cargo.toml +++ b/postgres/Cargo.toml @@ -24,13 +24,13 @@ path = "tests/test.rs" with-bit-vec = ["postgres-shared/with-bit-vec"] with-chrono = ["postgres-shared/with-chrono"] with-eui48 = ["postgres-shared/with-eui48"] +with-rustc-serialize = ["postgres-shared/with-rustc-serialize"] with-serde_json = ["postgres-shared/with-serde_json"] -with-time = ["postgres-shared/time"] +with-time = ["postgres-shared/with-time"] with-uuid = ["postgres-shared/with-uuid"] with-openssl = ["openssl"] with-native-tls = ["native-tls"] -with-rustc-serialize = ["rustc-serialize"] with-schannel = ["schannel"] with-security-framework = ["security-framework"] @@ -53,3 +53,11 @@ postgres-shared = { path = "../postgres-shared" } [dev-dependencies] url = "1.0" + +bit-vec = "0.4" +chrono = "0.2.14" +eui48 = "0.1" +rustc-serialize = "0.3" +serde_json = ">= 0.6, < 0.9" +time = "0.1.14" +uuid = ">= 0.1, < 0.4"