# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "sea-query"
version = "0.9.3"
authors = ["Billy Chan <ccw.billy.123@gmail.com>", "Chris Tsang <tyt2y7@gmail.com>"]
description = "A database agnostic runtime query builder for Rust"
documentation = "https://docs.rs/sea-query"
keywords = ["database", "sql", "mysql", "postgres", "sqlite"]
categories = ["database"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/SeaQL/sea-query"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[lib]
name = "sea_query"
path = "src/lib.rs"

[[example]]
name = "derive"
required-features = ["derive"]

[[test]]
name = "test-derive"
path = "tests/derive/mod.rs"
required-features = ["derive"]

[[test]]
name = "test-mysql"
path = "tests/mysql/mod.rs"
required-features = []

[[test]]
name = "test-postgres"
path = "tests/postgres/mod.rs"
required-features = []

[[test]]
name = "test-sqlite"
path = "tests/sqlite/mod.rs"
required-features = []
[dependencies.bytes]
version = "1"
optional = true

[dependencies.chrono]
version = "0"
optional = true

[dependencies.postgres-types]
version = "0"
optional = true

[dependencies.sea-query-derive]
version = "0.1.2"
optional = true
default-features = false

[dependencies.serde_json]
version = "1"
optional = true

[dev-dependencies]

[features]
backend-mysql = []
backend-postgres = []
backend-sqlite = []
default = ["derive", "backend-mysql", "backend-postgres", "backend-sqlite"]
derive = ["sea-query-derive"]
postgres = ["bytes", "postgres-types"]
postgres-chrono = ["with-chrono", "postgres-types/with-chrono-0_4"]
postgres-json = ["with-json", "postgres-types/with-serde_json-1"]
sqlx-chrono = ["with-chrono"]
sqlx-json = ["with-json"]
sqlx-mysql = []
sqlx-postgres = []
with-chrono = ["chrono"]
with-json = ["serde_json"]
