rust-postgres/postgres/Cargo.toml

84 lines
2.0 KiB
TOML
Raw Normal View History

2016-12-20 23:20:00 +00:00
[package]
name = "postgres"
2018-02-12 01:19:52 +00:00
version = "0.15.2"
2016-12-20 23:20:00 +00:00
authors = ["Steven Fackler <sfackler@gmail.com>"]
license = "MIT"
description = "A native PostgreSQL driver"
repository = "https://github.com/sfackler/rust-postgres"
2016-12-26 21:36:34 +00:00
readme = "../README.md"
2016-12-20 23:20:00 +00:00
keywords = ["database", "postgres", "postgresql", "sql"]
include = ["src/*", "Cargo.toml", "LICENSE", "README.md", "THIRD_PARTY"]
categories = ["database"]
2017-07-22 22:07:45 +00:00
[package.metadata.docs.rs]
features = [
"with-bit-vec",
"with-chrono",
"with-eui48",
"with-geo",
"with-rustc-serialize",
"with-serde_json",
"with-time",
"with-uuid",
"with-openssl",
"with-native-tls",
]
[badges]
2017-07-22 22:09:06 +00:00
circle-ci = { repository = "sfackler/rust-postgres" }
2016-12-20 23:20:00 +00:00
[lib]
name = "postgres"
path = "src/lib.rs"
test = false
bench = false
[[test]]
name = "test"
path = "tests/test.rs"
[features]
2016-12-21 16:14:24 +00:00
with-bit-vec = ["postgres-shared/with-bit-vec"]
with-chrono = ["postgres-shared/with-chrono"]
with-eui48 = ["postgres-shared/with-eui48"]
2017-03-10 23:33:43 +00:00
with-geo = ["postgres-shared/with-geo"]
2016-12-23 15:47:04 +00:00
with-rustc-serialize = ["postgres-shared/with-rustc-serialize"]
2016-12-21 16:14:24 +00:00
with-serde_json = ["postgres-shared/with-serde_json"]
2016-12-23 15:47:04 +00:00
with-time = ["postgres-shared/with-time"]
2016-12-21 16:14:24 +00:00
with-uuid = ["postgres-shared/with-uuid"]
2016-12-20 23:20:00 +00:00
with-openssl = ["openssl"]
with-native-tls = ["native-tls"]
with-schannel = ["schannel"]
with-security-framework = ["security-framework"]
no-logging = []
[dependencies]
bytes = "0.4"
2016-12-20 23:20:00 +00:00
fallible-iterator = "0.1.3"
2018-01-10 04:32:55 +00:00
log = "0.4"
2018-04-15 17:38:18 +00:00
socket2 = { version = "0.3", features = ["unix"] }
2016-12-21 16:14:24 +00:00
2018-01-10 05:18:34 +00:00
openssl = { version = "0.9.23", optional = true }
2016-12-20 23:20:00 +00:00
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 }
2017-06-11 20:06:26 +00:00
postgres-protocol = { version = "0.3.0", path = "../postgres-protocol" }
2018-02-12 01:17:52 +00:00
postgres-shared = { version = "0.4.1", path = "../postgres-shared" }
2016-12-21 00:07:45 +00:00
2016-12-20 23:20:00 +00:00
[dev-dependencies]
2018-04-15 20:59:48 +00:00
hex = "0.3"
2016-12-20 23:20:00 +00:00
url = "1.0"
2016-12-23 15:47:04 +00:00
bit-vec = "0.4"
2017-06-30 18:13:10 +00:00
chrono = "0.4"
2017-07-22 04:58:04 +00:00
eui48 = "0.3"
2017-03-11 00:58:51 +00:00
geo = "0.4"
2016-12-23 15:47:04 +00:00
rustc-serialize = "0.3"
2017-07-23 23:50:00 +00:00
serde_json = "1.0"
2016-12-23 15:47:04 +00:00
time = "0.1.14"
2017-05-02 05:12:45 +00:00
uuid = "0.5"