# 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.54.0"
name = "diesel_cli"
version = "2.0.0-rc.0"
include = [
    "src/**/*",
    "LICENSE-*",
    "README.md",
]
autotests = false
description = "Provides the CLI for the Diesel crate"
homepage = "https://diesel.rs"
documentation = "https://diesel.rs/guides/getting-started"
readme = "README.md"
keywords = [
    "diesel",
    "migrations",
    "cli",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/diesel-rs/diesel"

[[bin]]
name = "diesel"
path = "src/main.rs"
doc = false

[dependencies.chrono]
version = "0.4.19"
features = [
    "clock",
    "std",
]
default-features = false

[dependencies.clap]
version = "3.1"

[dependencies.clap_complete]
version = "3.1"

[dependencies.diesel]
version = "~2.0.0-rc.0"
default-features = false

[dependencies.diesel_migrations]
version = "~2.0.0-rc.0"

[dependencies.diffy]
version = "0.2.0"

[dependencies.dotenvy]
version = "0.15"

[dependencies.heck]
version = "0.4.0"

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

[dependencies.regex]
version = "1.0.6"

[dependencies.serde]
version = "1.0.0"
features = ["derive"]

[dependencies.serde_regex]
version = "1.1"

[dependencies.toml]
version = "0.5"

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

[dev-dependencies.difference]
version = "2.0"

[dev-dependencies.regex]
version = "1.3.9"

[dev-dependencies.tempfile]
version = "3.1.0"

[dev-dependencies.url]
version = "2.2.2"

[features]
default = [
    "postgres",
    "sqlite",
    "mysql",
]
mysql = [
    "diesel/mysql",
    "url",
    "uses_information_schema",
]
postgres = [
    "diesel/postgres",
    "url",
    "uses_information_schema",
]
sqlite = ["diesel/sqlite"]
sqlite-bundled = [
    "sqlite",
    "libsqlite3-sys/bundled",
]
uses_information_schema = []
