[package] name = "pgde" version = "0.6.0" authors = ["Paul Caruso "] license = "MIT" edition = "2021" repository = "https://github.com/crusopaul/pgde/" description = "A macro library for consuming PostgreSQL row data into structs." readme = "README.md" categories = [ "api-bindings", "development-tools::ffi", "rust-patterns" ] keywords = ["postgresql"] [features] bit = ["dep:bit-vec", "tokio-postgres/with-bit-vec-0_6"] chrono = ["dep:chrono", "tokio-postgres/with-chrono-0_4"] consume_json = ["dep:serde", "dep:serde_json"] geo = ["dep:geo-types", "tokio-postgres/with-geo-types-0_7"] mac = ["dep:eui48", "tokio-postgres/with-eui48-1"] json = ["dep:serde_json", "tokio-postgres/with-serde_json-1"] time = ["dep:time", "tokio-postgres/with-time-0_3"] uuid = ["dep:uuid", "tokio-postgres/with-uuid-1"] [dependencies] bit-vec = { version = "0.6", optional = true } chrono = { version = "0.4", optional = true } eui48 = { version = "1.1", optional = true } geo-types = { version = "0.7", optional = true } pgde_derive = { version = "0.2" } serde = { version = "1.0", features = ["derive"], optional = true } serde_json = { version = "1.0", optional = true } time = { version = "0.3", optional = true } tokio-postgres = { version = "0.7" } uuid = { version = "1.10", features = ["v4"], optional = true } [dev-dependencies] time = { version = "0.3", features = ["macros"] } tokio = { version = "1", features = ["full"] } tokio-test = { version = "0.4" }