rust-postgres/postgres-types/Cargo.toml

45 lines
1.8 KiB
TOML
Raw Normal View History

[package]
name = "postgres-types"
2021-04-03 21:10:03 +00:00
version = "0.2.1"
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"]
array-impls = ["array-init"]
2019-10-15 00:56:10 +00:00
with-bit-vec-0_6 = ["bit-vec-06"]
with-chrono-0_4 = ["chrono-04"]
with-eui48-0_4 = ["eui48-04"]
2021-06-03 00:54:37 +00:00
with-eui48-1 = ["eui48-1"]
2021-01-25 20:49:06 +00:00
with-geo-types-0_6 = ["geo-types-06"]
with-geo-types-0_7 = ["geo-types-0_7"]
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"]
2021-09-23 16:28:02 +00:00
with-time-0_3 = ["time-03"]
[dependencies]
2020-12-24 02:03:15 +00:00
bytes = "1.0"
fallible-iterator = "0.2"
2021-04-03 21:10:03 +00:00
postgres-protocol = { version = "0.6.1", path = "../postgres-protocol" }
2019-12-23 23:27:41 +00:00
postgres-derive = { version = "0.4.0", optional = true, path = "../postgres-derive" }
array-init = { version = "2", optional = true }
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 }
2021-06-03 00:54:37 +00:00
eui48-1 = { version = "1.0", package = "eui48", optional = true }
2021-01-25 20:49:06 +00:00
geo-types-06 = { version = "0.6", package = "geo-types", optional = true }
geo-types-0_7 = { version = "0.7", 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 }
2021-09-23 16:28:02 +00:00
time-03 = { version = "0.3", package = "time", default-features = false, optional = true }