Skip to content

Commit 89f2770

Browse files
committed
Build docs with features enabled
1 parent 7b22574 commit 89f2770

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

postgres/Cargo.toml

+14
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,20 @@ keywords = ["database", "postgres", "postgresql", "sql"]
1111
include = ["src/*", "Cargo.toml", "LICENSE", "README.md", "THIRD_PARTY"]
1212
categories = ["database"]
1313

14+
[package.metadata.docs.rs]
15+
features = [
16+
"with-bit-vec",
17+
"with-chrono",
18+
"with-eui48",
19+
"with-geo",
20+
"with-rustc-serialize",
21+
"with-serde_json",
22+
"with-time",
23+
"with-uuid",
24+
"with-openssl",
25+
"with-native-tls",
26+
]
27+
1428
[badges]
1529
travis-ci = { repository = "sfackler/rust-postgres" }
1630

tokio-postgres/Cargo.toml

+13
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@ readme = "../README.md"
1010
keywords = ["database", "postgres", "postgresql", "sql", "async"]
1111
categories = ["database"]
1212

13+
[package.metadata.docs.rs]
14+
features = [
15+
"with-bit-vec",
16+
"with-chrono",
17+
"with-eui48",
18+
"with-geo",
19+
"with-rustc-serialize",
20+
"with-serde_json",
21+
"with-time",
22+
"with-uuid",
23+
"with-openssl",
24+
]
25+
1326
[badges]
1427
travis-ci = { repository = "sfackler/rust-postgres" }
1528

0 commit comments

Comments
 (0)