# 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"
rust-version = "1.56.0"
name = "diesel"
version = "2.0.3"
description = "A safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL"
homepage = "https://diesel.rs"
documentation = "https://docs.rs/diesel/"
readme = "README.md"
keywords = [
    "orm",
    "database",
    "sql",
]
categories = ["database"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/diesel-rs/diesel"

[package.metadata.docs.rs]
features = [
    "postgres",
    "mysql",
    "sqlite",
    "extras",
]
no-default-features = true
rustc-args = [
    "--cfg",
    "doc_cfg",
]
rustdoc-args = [
    "--cfg",
    "doc_cfg",
]

[dependencies.bigdecimal]
version = ">=0.0.13, < 0.4.0"
optional = true

[dependencies.bitflags]
version = "1.2.0"
optional = true

[dependencies.byteorder]
version = "1.0"
optional = true

[dependencies.chrono]
version = "0.4.20"
features = [
    "clock",
    "std",
]
optional = true
default-features = false

[dependencies.diesel_derives]
version = "~2.0.0"

[dependencies.ipnet]
version = "2.5.0"
optional = true

[dependencies.ipnetwork]
version = ">=0.12.2, <0.21.0"
optional = true

[dependencies.itoa]
version = "1.0.0"
optional = true

[dependencies.libc]
version = "0.2.0"
optional = true

[dependencies.libsqlite3-sys]
version = ">=0.17.2, <0.26.0"
features = ["bundled_bindings"]
optional = true

[dependencies.mysqlclient-sys]
version = "0.2.5"
optional = true

[dependencies.num-bigint]
version = ">=0.2.0, <0.5.0"
optional = true

[dependencies.num-integer]
version = "0.1.39"
optional = true

[dependencies.num-traits]
version = "0.2.0"
optional = true

[dependencies.percent-encoding]
version = "2.1.0"
optional = true

[dependencies.pq-sys]
version = "0.4.0"
optional = true

[dependencies.quickcheck]
version = "1.0.3"
optional = true

[dependencies.r2d2]
version = ">= 0.8.2, < 0.9.0"
optional = true

[dependencies.serde_json]
version = ">=0.8.0, <2.0"
optional = true

[dependencies.time]
version = "0.3.9"
features = [
    "macros",
    "formatting",
    "parsing",
]
optional = true

[dependencies.url]
version = "2.1.0"
optional = true

[dependencies.uuid]
version = ">=0.7.0, <2.0.0"
optional = true

[dev-dependencies.cfg-if]
version = "1"

[dev-dependencies.dotenvy]
version = "0.15"

[dev-dependencies.ipnetwork]
version = ">=0.12.2, <0.21.0"

[dev-dependencies.quickcheck]
version = "1.0.3"

[features]
128-column-tables = [
    "64-column-tables",
    "diesel_derives/128-column-tables",
]
32-column-tables = ["diesel_derives/32-column-tables"]
64-column-tables = [
    "32-column-tables",
    "diesel_derives/64-column-tables",
]
default = [
    "with-deprecated",
    "32-column-tables",
]
extras = [
    "chrono",
    "time",
    "serde_json",
    "uuid",
    "network-address",
    "numeric",
    "r2d2",
]
huge-tables = ["64-column-tables"]
i-implement-a-third-party-backend-and-opt-into-breaking-changes = []
ipnet-address = [
    "ipnet",
    "libc",
]
large-tables = ["32-column-tables"]
mysql = [
    "mysqlclient-sys",
    "url",
    "percent-encoding",
    "bitflags",
    "mysql_backend",
]
mysql_backend = [
    "diesel_derives/mysql",
    "byteorder",
]
network-address = [
    "ipnetwork",
    "libc",
]
nightly-error-messages = []
numeric = [
    "num-bigint",
    "bigdecimal",
    "num-traits",
    "num-integer",
]
postgres = [
    "pq-sys",
    "postgres_backend",
]
postgres_backend = [
    "diesel_derives/postgres",
    "bitflags",
    "byteorder",
    "itoa",
]
returning_clauses_for_sqlite_3_35 = []
sqlite = [
    "libsqlite3-sys",
    "diesel_derives/sqlite",
]
unstable = ["diesel_derives/nightly"]
with-deprecated = ["diesel_derives/with-deprecated"]
without-deprecated = ["diesel_derives/without-deprecated"]
