# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2018"
name = "yb-tokio-postgres"
version = "0.7.10-yb-1-beta.2"
authors = ["Steven Fackler <sfackler@gmail.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A native, asynchronous YugabyteDB YSQL client"
homepage = "https://www.yugabyte.com/"
documentation = "https://docs.yugabyte.com/stable/drivers-orms/rust/yb-rust-postgres"
readme = "README.md"
keywords = [
    "database",
    "postgresql",
    "sql",
    "async",
    "yugabytedb",
]
categories = ["database"]
license = "MIT/Apache-2.0"
repository = "https://github.com/yugabyte/rust-postgres"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[lib]
name = "yb_tokio_postgres"
path = "src/lib.rs"
test = false

[[test]]
name = "test"
path = "tests/test/main.rs"

[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false

[dependencies.async-trait]
version = "0.1"

[dependencies.byteorder]
version = "1.0"

[dependencies.bytes]
version = "1.0"

[dependencies.fallible-iterator]
version = "0.2"

[dependencies.futures-channel]
version = "0.3"
features = ["sink"]

[dependencies.futures-util]
version = "0.3"
features = ["sink"]

[dependencies.lazy_static]
version = "1.4.0"

[dependencies.log]
version = "0.4"

[dependencies.parking_lot]
version = "0.12"

[dependencies.percent-encoding]
version = "2.0"

[dependencies.phf]
version = "0.11"

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.postgres-protocol]
version = "0.6.6"

[dependencies.postgres-types]
version = "0.2.5"

[dependencies.rand]
version = "0.8.5"

[dependencies.tokio]
version = "1.27"
features = [
    "io-util",
    "rt",
]

[dependencies.tokio-util]
version = "0.7"
features = ["codec"]

[dependencies.whoami]
version = "1.4.1"

[dev-dependencies.bit-vec-06]
version = "0.6"
package = "bit-vec"

[dev-dependencies.chrono-04]
version = "0.4"
default-features = false
package = "chrono"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.env_logger]
version = "0.10"

[dev-dependencies.eui48-1]
version = "1.0"
default-features = false
package = "eui48"

[dev-dependencies.futures-executor]
version = "0.3"

[dev-dependencies.geo-types-06]
version = "0.6"
package = "geo-types"

[dev-dependencies.geo-types-07]
version = "0.7"
package = "geo-types"

[dev-dependencies.serde-1]
version = "1.0"
package = "serde"

[dev-dependencies.serde_json-1]
version = "1.0"
package = "serde_json"

[dev-dependencies.smol_str-01]
version = "0.1"
package = "smol_str"

[dev-dependencies.time-02]
version = "0.2"
package = "time"

[dev-dependencies.time-03]
version = "0.3"
features = ["parsing"]
package = "time"

[dev-dependencies.tokio]
version = "1.0"
features = [
    "macros",
    "net",
    "rt",
    "rt-multi-thread",
    "time",
]

[dev-dependencies.uuid-08]
version = "0.8"
package = "uuid"

[dev-dependencies.uuid-1]
version = "1.0"
package = "uuid"

[features]
array-impls = ["postgres-types/array-impls"]
default = ["runtime"]
js = ["postgres-protocol/js"]
runtime = [
    "tokio/net",
    "tokio/time",
]
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"]
with-eui48-1 = ["postgres-types/with-eui48-1"]
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"]
with-smol_str-01 = ["postgres-types/with-smol_str-01"]
with-time-0_2 = ["postgres-types/with-time-0_2"]
with-time-0_3 = ["postgres-types/with-time-0_3"]
with-uuid-0_8 = ["postgres-types/with-uuid-0_8"]
with-uuid-1 = ["postgres-types/with-uuid-1"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.socket2]
version = "0.5"
features = ["all"]

[badges.circle-ci]
repository = "yugabyte/rust-postgres"