rust-postgres/tokio-postgres/Cargo.toml

90 lines
2.8 KiB
TOML
Raw Normal View History

2016-12-20 23:42:28 +00:00
[package]
2016-12-26 21:41:09 +00:00
name = "tokio-postgres"
2023-03-27 23:14:49 +00:00
version = "0.7.8"
2016-12-20 23:42:28 +00:00
authors = ["Steven Fackler <sfackler@gmail.com>"]
2018-12-09 01:40:37 +00:00
edition = "2018"
2019-03-06 03:03:36 +00:00
license = "MIT/Apache-2.0"
description = "A native, asynchronous PostgreSQL client"
2016-12-26 21:36:34 +00:00
repository = "https://github.com/sfackler/rust-postgres"
readme = "../README.md"
2017-02-21 05:30:14 +00:00
keywords = ["database", "postgres", "postgresql", "sql", "async"]
categories = ["database"]
[lib]
test = false
2019-10-16 01:17:10 +00:00
[[bench]]
name = "bench"
harness = false
2017-07-22 22:07:45 +00:00
[package.metadata.docs.rs]
2019-03-06 03:03:36 +00:00
all-features = true
2017-07-22 22:07:45 +00:00
[badges]
2017-07-22 22:09:06 +00:00
circle-ci = { repository = "sfackler/rust-postgres" }
2016-12-20 23:42:28 +00:00
2016-12-24 17:21:26 +00:00
[features]
2018-12-17 05:30:52 +00:00
default = ["runtime"]
2020-10-17 13:49:45 +00:00
runtime = ["tokio/net", "tokio/time"]
2018-12-17 05:30:52 +00:00
array-impls = ["postgres-types/array-impls"]
2019-10-14 22:13:27 +00:00
with-bit-vec-0_6 = ["postgres-types/with-bit-vec-0_6"]
with-chrono-0_4 = ["postgres-types/with-chrono-0_4"]
with-eui48-0_4 = ["postgres-types/with-eui48-0_4"]
2021-06-03 00:54:37 +00:00
with-eui48-1 = ["postgres-types/with-eui48-1"]
2021-01-25 20:49:06 +00:00
with-geo-types-0_6 = ["postgres-types/with-geo-types-0_6"]
with-geo-types-0_7 = ["postgres-types/with-geo-types-0_7"]
with-serde_json-1 = ["postgres-types/with-serde_json-1"]
2022-08-20 19:18:19 +00:00
with-smol_str-01 = ["postgres-types/with-smol_str-01"]
2019-10-19 17:37:28 +00:00
with-uuid-0_8 = ["postgres-types/with-uuid-0_8"]
2022-04-20 14:52:47 +00:00
with-uuid-1 = ["postgres-types/with-uuid-1"]
2020-02-28 22:58:43 +00:00
with-time-0_2 = ["postgres-types/with-time-0_2"]
2021-09-23 16:28:02 +00:00
with-time-0_3 = ["postgres-types/with-time-0_3"]
2023-06-04 17:02:03 +00:00
js = ["postgres-protocol/js"]
2016-12-26 20:35:28 +00:00
2016-12-20 23:42:28 +00:00
[dependencies]
async-trait = "0.1"
2020-12-24 02:03:15 +00:00
bytes = "1.0"
byteorder = "1.0"
2019-03-10 23:32:28 +00:00
fallible-iterator = "0.2"
futures-channel = { version = "0.3", features = ["sink"] }
futures-util = { version = "0.3", features = ["sink"] }
2018-06-19 02:34:25 +00:00
log = "0.4"
parking_lot = "0.12"
2019-10-19 17:53:54 +00:00
percent-encoding = "2.0"
pin-project-lite = "0.2"
2022-07-19 00:04:00 +00:00
phf = "0.11"
postgres-protocol = { version = "0.6.5", path = "../postgres-protocol" }
2022-08-21 19:34:36 +00:00
postgres-types = { version = "0.2.4", path = "../postgres-types" }
2023-03-27 22:04:52 +00:00
tokio = { version = "1.27", features = ["io-util"] }
tokio-util = { version = "0.7", features = ["codec"] }
2018-06-19 02:34:25 +00:00
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
socket2 = { version = "0.5", features = ["all"] }
2018-06-19 02:34:25 +00:00
[dev-dependencies]
futures-executor = "0.3"
criterion = "0.5"
env_logger = "0.10"
2022-08-20 19:18:19 +00:00
tokio = { version = "1.0", features = [
"macros",
"net",
"rt",
"rt-multi-thread",
"time",
] }
2019-10-08 00:18:00 +00:00
bit-vec-06 = { version = "0.6", package = "bit-vec" }
chrono-04 = { version = "0.4", package = "chrono", default-features = false }
2019-10-08 00:18:00 +00:00
eui48-04 = { version = "0.4", package = "eui48" }
2021-06-03 00:54:37 +00:00
eui48-1 = { version = "1.0", package = "eui48" }
2021-01-25 20:49:06 +00:00
geo-types-06 = { version = "0.6", package = "geo-types" }
geo-types-07 = { version = "0.7", package = "geo-types" }
2019-10-08 00:18:00 +00:00
serde-1 = { version = "1.0", package = "serde" }
serde_json-1 = { version = "1.0", package = "serde_json" }
2022-08-20 19:18:19 +00:00
smol_str-01 = { version = "0.1", package = "smol_str" }
2019-10-19 17:37:28 +00:00
uuid-08 = { version = "0.8", package = "uuid" }
2022-04-20 14:52:47 +00:00
uuid-1 = { version = "1.0", package = "uuid" }
2020-02-29 00:03:59 +00:00
time-02 = { version = "0.2", package = "time" }
2021-09-23 16:28:02 +00:00
time-03 = { version = "0.3", package = "time", features = ["parsing"] }