rust-postgres/postgres-types/Cargo.toml

39 lines
1.5 KiB
TOML
Raw Normal View History

[package]
name = "postgres-types"
2020-10-17 19:00:47 +00:00
version = "0.1.3"
authors = ["Steven Fackler <sfackler@gmail.com>"]
edition = "2018"
2019-10-15 00:56:10 +00:00
license = "MIT/Apache-2.0"
description = "Conversions between Rust and Postgres values"
repository = "https://github.com/sfackler/rust-postgres"
readme = "../README.md"
keywords = ["database", "postgres", "postgresql", "sql"]
categories = ["database"]
[features]
2019-10-15 00:56:10 +00:00
derive = ["postgres-derive"]
with-bit-vec-0_6 = ["bit-vec-06"]
with-chrono-0_4 = ["chrono-04"]
with-eui48-0_4 = ["eui48-04"]
with-geo-types-0_4 = ["geo-types-04"]
with-geo-types-0_6 = ["geo-types-06"]
with-serde_json-1 = ["serde-1", "serde_json-1"]
2019-10-19 17:37:28 +00:00
with-uuid-0_8 = ["uuid-08"]
2020-02-28 22:58:43 +00:00
with-time-0_2 = ["time-02"]
[dependencies]
2020-12-24 02:03:15 +00:00
bytes = "1.0"
fallible-iterator = "0.2"
2020-12-25 13:51:17 +00:00
postgres-protocol = { version = "0.6.0", path = "../postgres-protocol" }
2019-12-23 23:27:41 +00:00
postgres-derive = { version = "0.4.0", optional = true, path = "../postgres-derive" }
bit-vec-06 = { version = "0.6", package = "bit-vec", optional = true }
chrono-04 = { version = "0.4.16", package = "chrono", default-features = false, features = ["clock"], optional = true }
eui48-04 = { version = "0.4", package = "eui48", optional = true }
geo-types-04 = { version = "0.4", package = "geo-types", optional = true }
geo-types-06 = { version = "0.6", package = "geo-types", optional = true }
serde-1 = { version = "1.0", package = "serde", optional = true }
serde_json-1 = { version = "1.0", package = "serde_json", optional = true }
2019-10-19 17:37:28 +00:00
uuid-08 = { version = "0.8", package = "uuid", optional = true }
2020-02-28 22:58:43 +00:00
time-02 = { version = "0.2", package = "time", optional = true }