Skip to content

Commit a8717d2

Browse files
committed
Fix features
1 parent 7c63632 commit a8717d2

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

postgres-shared/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ authors = ["Steven Fackler <[email protected]>"]
77
with-bit-vec = ["bit-vec"]
88
with-chrono = ["chrono"]
99
with-eui48 = ["eui48"]
10+
with-rustc-serialize = ["rustc-serialize"]
1011
with-serde_json = ["serde_json"]
1112
with-time = ["time"]
1213
with-uuid = ["uuid"]
@@ -20,6 +21,7 @@ postgres-protocol = "0.2"
2021
bit-vec = { version = "0.4", optional = true }
2122
chrono = { version = "0.2.14", optional = true }
2223
eui48 = { version = "0.1", optional = true }
24+
rustc-serialize = { version = "0.3", optional = true }
2325
serde_json = { version = ">= 0.6, < 0.9", optional = true }
2426
time = { version = "0.1.14", optional = true }
2527
uuid = { version = ">= 0.1, < 0.4", optional = true }

postgres/Cargo.toml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ path = "tests/test.rs"
2424
with-bit-vec = ["postgres-shared/with-bit-vec"]
2525
with-chrono = ["postgres-shared/with-chrono"]
2626
with-eui48 = ["postgres-shared/with-eui48"]
27+
with-rustc-serialize = ["postgres-shared/with-rustc-serialize"]
2728
with-serde_json = ["postgres-shared/with-serde_json"]
28-
with-time = ["postgres-shared/time"]
29+
with-time = ["postgres-shared/with-time"]
2930
with-uuid = ["postgres-shared/with-uuid"]
3031

3132
with-openssl = ["openssl"]
3233
with-native-tls = ["native-tls"]
33-
with-rustc-serialize = ["rustc-serialize"]
3434
with-schannel = ["schannel"]
3535
with-security-framework = ["security-framework"]
3636

@@ -53,3 +53,11 @@ postgres-shared = { path = "../postgres-shared" }
5353

5454
[dev-dependencies]
5555
url = "1.0"
56+
57+
bit-vec = "0.4"
58+
chrono = "0.2.14"
59+
eui48 = "0.1"
60+
rustc-serialize = "0.3"
61+
serde_json = ">= 0.6, < 0.9"
62+
time = "0.1.14"
63+
uuid = ">= 0.1, < 0.4"

0 commit comments

Comments
 (0)