Skip to content

Commit 8dc4fbc

Browse files
committed
Move to a nested configuration
1 parent 1006b50 commit 8dc4fbc

39 files changed

+60
-58
lines changed

Cargo.toml

+2-58
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,2 @@
1-
[package]
2-
name = "postgres"
3-
version = "0.13.4"
4-
authors = ["Steven Fackler <[email protected]>"]
5-
license = "MIT"
6-
description = "A native PostgreSQL driver"
7-
repository = "https://github.com/sfackler/rust-postgres"
8-
documentation = "https://docs.rs/postgres/0.13.4/postgres"
9-
readme = "README.md"
10-
keywords = ["database", "postgres", "postgresql", "sql"]
11-
include = ["src/*", "Cargo.toml", "LICENSE", "README.md", "THIRD_PARTY"]
12-
13-
[lib]
14-
name = "postgres"
15-
path = "src/lib.rs"
16-
test = false
17-
bench = false
18-
19-
[[test]]
20-
name = "test"
21-
path = "tests/test.rs"
22-
23-
[features]
24-
with-bit-vec = ["bit-vec"]
25-
with-chrono = ["chrono"]
26-
with-eui48 = ["eui48"]
27-
with-openssl = ["openssl"]
28-
with-native-tls = ["native-tls"]
29-
with-rustc-serialize = ["rustc-serialize"]
30-
with-schannel = ["schannel"]
31-
with-security-framework = ["security-framework"]
32-
with-serde_json = ["serde_json"]
33-
with-time = ["time"]
34-
with-uuid = ["uuid"]
35-
36-
no-logging = []
37-
38-
[dependencies]
39-
bufstream = "0.1"
40-
fallible-iterator = "0.1.3"
41-
hex = "0.2"
42-
log = "0.3"
43-
phf = "=0.7.20"
44-
postgres-protocol = "0.2"
45-
bit-vec = { version = "0.4", optional = true }
46-
chrono = { version = "0.2.14", optional = true }
47-
eui48 = { version = "0.1", optional = true }
48-
openssl = { version = "0.9", optional = true }
49-
native-tls = { version = "0.1", optional = true }
50-
rustc-serialize = { version = "0.3", optional = true }
51-
schannel = { version = "0.1", optional = true }
52-
security-framework = { version = "0.1.2", optional = true }
53-
serde_json = { version = ">= 0.6, < 0.9", optional = true }
54-
time = { version = "0.1.14", optional = true }
55-
uuid = { version = ">= 0.1, < 0.4", optional = true }
56-
57-
[dev-dependencies]
58-
url = "1.0"
1+
[workspace]
2+
members = ["postgres", "codegen"]

postgres/Cargo.toml

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
[package]
2+
name = "postgres"
3+
version = "0.13.4"
4+
authors = ["Steven Fackler <[email protected]>"]
5+
license = "MIT"
6+
description = "A native PostgreSQL driver"
7+
repository = "https://github.com/sfackler/rust-postgres"
8+
documentation = "https://docs.rs/postgres/0.13.4/postgres"
9+
readme = "README.md"
10+
keywords = ["database", "postgres", "postgresql", "sql"]
11+
include = ["src/*", "Cargo.toml", "LICENSE", "README.md", "THIRD_PARTY"]
12+
13+
[lib]
14+
name = "postgres"
15+
path = "src/lib.rs"
16+
test = false
17+
bench = false
18+
19+
[[test]]
20+
name = "test"
21+
path = "tests/test.rs"
22+
23+
[features]
24+
with-bit-vec = ["bit-vec"]
25+
with-chrono = ["chrono"]
26+
with-eui48 = ["eui48"]
27+
with-openssl = ["openssl"]
28+
with-native-tls = ["native-tls"]
29+
with-rustc-serialize = ["rustc-serialize"]
30+
with-schannel = ["schannel"]
31+
with-security-framework = ["security-framework"]
32+
with-serde_json = ["serde_json"]
33+
with-time = ["time"]
34+
with-uuid = ["uuid"]
35+
36+
no-logging = []
37+
38+
[dependencies]
39+
bufstream = "0.1"
40+
fallible-iterator = "0.1.3"
41+
hex = "0.2"
42+
log = "0.3"
43+
phf = "=0.7.20"
44+
postgres-protocol = "0.2"
45+
bit-vec = { version = "0.4", optional = true }
46+
chrono = { version = "0.2.14", optional = true }
47+
eui48 = { version = "0.1", optional = true }
48+
openssl = { version = "0.9", optional = true }
49+
native-tls = { version = "0.1", optional = true }
50+
rustc-serialize = { version = "0.3", optional = true }
51+
schannel = { version = "0.1", optional = true }
52+
security-framework = { version = "0.1.2", optional = true }
53+
serde_json = { version = ">= 0.6, < 0.9", optional = true }
54+
time = { version = "0.1.14", optional = true }
55+
uuid = { version = ">= 0.1, < 0.4", optional = true }
56+
57+
[dev-dependencies]
58+
url = "1.0"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)