Move to a nested configuration
This commit is contained in:
parent
1006b50295
commit
8dc4fbc1d5
60
Cargo.toml
60
Cargo.toml
@ -1,58 +1,2 @@
|
||||
[package]
|
||||
name = "postgres"
|
||||
version = "0.13.4"
|
||||
authors = ["Steven Fackler <sfackler@gmail.com>"]
|
||||
license = "MIT"
|
||||
description = "A native PostgreSQL driver"
|
||||
repository = "https://github.com/sfackler/rust-postgres"
|
||||
documentation = "https://docs.rs/postgres/0.13.4/postgres"
|
||||
readme = "README.md"
|
||||
keywords = ["database", "postgres", "postgresql", "sql"]
|
||||
include = ["src/*", "Cargo.toml", "LICENSE", "README.md", "THIRD_PARTY"]
|
||||
|
||||
[lib]
|
||||
name = "postgres"
|
||||
path = "src/lib.rs"
|
||||
test = false
|
||||
bench = false
|
||||
|
||||
[[test]]
|
||||
name = "test"
|
||||
path = "tests/test.rs"
|
||||
|
||||
[features]
|
||||
with-bit-vec = ["bit-vec"]
|
||||
with-chrono = ["chrono"]
|
||||
with-eui48 = ["eui48"]
|
||||
with-openssl = ["openssl"]
|
||||
with-native-tls = ["native-tls"]
|
||||
with-rustc-serialize = ["rustc-serialize"]
|
||||
with-schannel = ["schannel"]
|
||||
with-security-framework = ["security-framework"]
|
||||
with-serde_json = ["serde_json"]
|
||||
with-time = ["time"]
|
||||
with-uuid = ["uuid"]
|
||||
|
||||
no-logging = []
|
||||
|
||||
[dependencies]
|
||||
bufstream = "0.1"
|
||||
fallible-iterator = "0.1.3"
|
||||
hex = "0.2"
|
||||
log = "0.3"
|
||||
phf = "=0.7.20"
|
||||
postgres-protocol = "0.2"
|
||||
bit-vec = { version = "0.4", optional = true }
|
||||
chrono = { version = "0.2.14", optional = true }
|
||||
eui48 = { version = "0.1", optional = true }
|
||||
openssl = { version = "0.9", optional = true }
|
||||
native-tls = { version = "0.1", optional = true }
|
||||
rustc-serialize = { version = "0.3", optional = true }
|
||||
schannel = { version = "0.1", optional = true }
|
||||
security-framework = { version = "0.1.2", 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 }
|
||||
|
||||
[dev-dependencies]
|
||||
url = "1.0"
|
||||
[workspace]
|
||||
members = ["postgres", "codegen"]
|
||||
|
58
postgres/Cargo.toml
Normal file
58
postgres/Cargo.toml
Normal file
@ -0,0 +1,58 @@
|
||||
[package]
|
||||
name = "postgres"
|
||||
version = "0.13.4"
|
||||
authors = ["Steven Fackler <sfackler@gmail.com>"]
|
||||
license = "MIT"
|
||||
description = "A native PostgreSQL driver"
|
||||
repository = "https://github.com/sfackler/rust-postgres"
|
||||
documentation = "https://docs.rs/postgres/0.13.4/postgres"
|
||||
readme = "README.md"
|
||||
keywords = ["database", "postgres", "postgresql", "sql"]
|
||||
include = ["src/*", "Cargo.toml", "LICENSE", "README.md", "THIRD_PARTY"]
|
||||
|
||||
[lib]
|
||||
name = "postgres"
|
||||
path = "src/lib.rs"
|
||||
test = false
|
||||
bench = false
|
||||
|
||||
[[test]]
|
||||
name = "test"
|
||||
path = "tests/test.rs"
|
||||
|
||||
[features]
|
||||
with-bit-vec = ["bit-vec"]
|
||||
with-chrono = ["chrono"]
|
||||
with-eui48 = ["eui48"]
|
||||
with-openssl = ["openssl"]
|
||||
with-native-tls = ["native-tls"]
|
||||
with-rustc-serialize = ["rustc-serialize"]
|
||||
with-schannel = ["schannel"]
|
||||
with-security-framework = ["security-framework"]
|
||||
with-serde_json = ["serde_json"]
|
||||
with-time = ["time"]
|
||||
with-uuid = ["uuid"]
|
||||
|
||||
no-logging = []
|
||||
|
||||
[dependencies]
|
||||
bufstream = "0.1"
|
||||
fallible-iterator = "0.1.3"
|
||||
hex = "0.2"
|
||||
log = "0.3"
|
||||
phf = "=0.7.20"
|
||||
postgres-protocol = "0.2"
|
||||
bit-vec = { version = "0.4", optional = true }
|
||||
chrono = { version = "0.2.14", optional = true }
|
||||
eui48 = { version = "0.1", optional = true }
|
||||
openssl = { version = "0.9", optional = true }
|
||||
native-tls = { version = "0.1", optional = true }
|
||||
rustc-serialize = { version = "0.3", optional = true }
|
||||
schannel = { version = "0.1", optional = true }
|
||||
security-framework = { version = "0.1.2", 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 }
|
||||
|
||||
[dev-dependencies]
|
||||
url = "1.0"
|
Loading…
Reference in New Issue
Block a user