Fix features
This commit is contained in:
@@ -7,6 +7,7 @@ authors = ["Steven Fackler <sfackler@gmail.com>"]
|
||||
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 }
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user