[package] name = "quaint" version = "0.2.0-alpha.13" authors = [ "Julius de Bruijn ", "Katharina Fey ", "Tom Houlé ", "Emanuel Jöbstl ", "Matthias Oertel ", "Dominic Petrick ", ] edition = "2018" readme = "README.md" license = "Apache-2.0" description = "An abstraction layer for SQL databases." repository = "https://github.com/prisma/quaint/" homepage = "https://github.com/prisma/quaint/" keywords = ["mysql", "postgresql", "sqlite", "sql"] documentation = "https://docs.rs/quaint/" [package.metadata.docs.rs] features = [ "full", "serde-support", "json-1", "uuid-0_8", "chrono-0_4", "array" ] [features] default = [] full = ["pooled", "sqlite", "json-1", "postgresql", "uuid-0_8", "chrono-0_4", "mysql", "mssql"] full-postgresql = ["pooled", "postgresql", "json-1", "uuid-0_8", "chrono-0_4", "array"] full-mysql = ["pooled", "mysql", "json-1", "uuid-0_8", "chrono-0_4"] full-sqlite = ["pooled", "sqlite", "json-1", "uuid-0_8", "chrono-0_4"] full-mssql = ["pooled", "mssql"] single = ["sqlite", "json-1", "postgresql", "uuid-0_8", "chrono-0_4", "mysql", "mssql"] single-postgresql = ["postgresql", "json-1", "uuid-0_8", "chrono-0_4", "array"] single-mysql = ["mysql", "json-1", "uuid-0_8", "chrono-0_4"] single-sqlite = ["sqlite", "json-1", "uuid-0_8", "chrono-0_4"] single-mssql = ["mssql"] pooled = ["mobc"] sqlite = ["rusqlite", "libsqlite3-sys", "tokio/sync"] json-1 = ["serde_json", "base64"] postgresql = ["rust_decimal/tokio-pg", "native-tls", "tokio-postgres", "postgres-native-tls", "array", "bytes", "tokio", "bit-vec"] uuid-0_8 = ["uuid"] chrono-0_4 = ["chrono"] mysql = ["mysql_async", "tokio"] mssql = ["tiberius", "uuid-0_8", "chrono-0_4", "tokio-util"] tracing-log = ["tracing", "tracing-core"] array = [] serde-support = ["serde", "chrono/serde"] [dependencies] url = "2.1" metrics = "0.12" percent-encoding = "2" once_cell = "1.3" num_cpus = "1.12" rust_decimal = "1.6" futures = "0.3" thiserror = "1.0" async-trait = "0.1" hex = "0.4" uuid = { version = "0.8", optional = true } chrono = { version = "0.4", optional = true } serde_json = { version = "1.0.48", optional = true } base64 = { version = "0.11.0", optional = true } rusqlite = { version = "0.21", features = ["chrono", "bundled"], optional = true } libsqlite3-sys = { version = "0.17", default-features = false, features = ["bundled"], optional = true } tokio-postgres = { version = "0.5", features = ["with-uuid-0_8", "with-chrono-0_4", "with-serde_json-1", "with-bit-vec-0_6"], optional = true } postgres-native-tls = { version = "0.3", optional = true } native-tls = { version = "0.2", optional = true } mysql_async = { version = "0.23", optional = true } tiberius = { version = "0.4", optional = true, features = ["rust_decimal", "sql-browser-tokio"] } log = { version = "0.4", features = ["release_max_level_trace"] } tracing = { version = "0.1", optional = true } tracing-core = { version = "0.1", optional = true } mobc = { version = "0.5.7", optional = true } bytes = { version = "0.5", optional = true } tokio = { version = "0.2", features = ["rt-threaded", "macros", "sync"], optional = true} tokio-util = { version = "0.3", features = ["compat"], optional = true } serde = { version = "1.0", optional = true } bit-vec = { version = "0.6.1", optional = true } [dev-dependencies] tokio = { version = "0.2", features = ["rt-threaded", "macros"]} serde = { version = "1.0", features = ["derive"] } indoc = "0.3" names = "0.11"