[package] name = "tokio-postgres_wasi" version = "0.7.7" authors = ["Steven Fackler "] edition = "2018" license = "MIT/Apache-2.0" description = "A native, asynchronous PostgreSQL client" repository = "https://github.com/WasmEdge/rust-postgres" readme = "../README.md" keywords = ["database", "postgres", "postgresql", "sql", "async"] categories = ["database"] [lib] test = false name = "tokio_postgres" path = "src/lib.rs" [[bench]] name = "bench" harness = false [package.metadata.docs.rs] all-features = true [badges] circle-ci = { repository = "sfackler/rust-postgres" } [features] default = ["runtime"] runtime = ["tokio_wasi/net", "tokio_wasi/time"] array-impls = ["postgres-types/array-impls"] 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-uuid-0_8 = ["postgres-types/with-uuid-0_8"] with-uuid-1 = ["postgres-types/with-uuid-1"] with-time-0_2 = ["postgres-types/with-time-0_2"] with-time-0_3 = ["postgres-types/with-time-0_3"] [dependencies] async-trait = "0.1" bytes = "1.0" byteorder = "1.0" fallible-iterator = "0.2" futures-channel = { version = "0.3", features = ["sink"] } futures-util = { version = "0.3", features = ["sink"] } log = "0.4" parking_lot = "0.12" percent-encoding = "2.0" pin-project-lite = "0.2" phf = "0.11" postgres-protocol = { version = "0.6.4"} postgres-types = { version = "0.2.4"} # socket2 = "0.4" tokio_wasi = { version = "1", features = ["rt", "io-util"] } tokio-util_wasi = { version = "0.7", features = ["codec"] } [dev-dependencies] futures-executor = "0.3" criterion = "0.4" env_logger = "0.10" tokio_wasi = { version = "1", features = [ "macros", "net", "rt", "time", ] } bit-vec-06 = { version = "0.6", package = "bit-vec" } chrono-04 = { version = "0.4", package = "chrono", default-features = false } eui48-04 = { version = "0.4", package = "eui48" } eui48-1 = { version = "1.0", package = "eui48" } geo-types-06 = { version = "0.6", package = "geo-types" } geo-types-07 = { version = "0.7", package = "geo-types" } serde-1 = { version = "1.0", package = "serde" } serde_json-1 = { version = "1.0", package = "serde_json" } smol_str-01 = { version = "0.1", package = "smol_str" } uuid-08 = { version = "0.8", package = "uuid" } uuid-1 = { version = "1.0", package = "uuid" } time-02 = { version = "0.2", package = "time" } time-03 = { version = "0.3", package = "time", features = ["parsing"] }