# 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 = "2021"
name = "br-plugin"
version = "0.1.1"
authors = ["Doraemon <7991156@qq.com>"]
exclude = [
    "INSTALL.md",
    "config",
    "db",
    "/model",
    "/plugin",
    "/tests",
]
description = "This is an Plugin"
readme = "README.md"
keywords = [
    "br",
    "carryxd",
    "plugin",
    "api",
]
license = "MIT"
resolver = "1"

[dependencies.br-cache]
version = "0.0.4"
optional = true

[dependencies.br-db]
version = "0.1.12"
optional = true

[dependencies.br-email]
version = "0.1.1"
optional = true

[dependencies.br-fields]
version = "0.0.21"

[dependencies.br-kafka]
version = "0.0.2"
optional = true

[dependencies.json]
version = "0.12.4"

[dependencies.lazy_static]
version = "1.4.0"

[dependencies.log]
version = "0.4.17"

[dev-dependencies.br-crypto]
version = "0.0.16"

[dev-dependencies.br-file]
version = "0.0.1"

[dev-dependencies.br-web]
version = "0.0.6"

[dev-dependencies.env_logger]
version = "0.10.0"

[features]
cache = ["br-cache"]
default = [
    "mssql",
    "mysql",
    "sqlite",
    "cache",
    "kafka",
    "mail",
]
kafka = ["br-kafka"]
mail = [
    "br-email/pop3",
    "br-email/imaps",
    "br-email/smtp",
]
mssql = ["br-db/db-mssql"]
mysql = ["br-db/db-mysql"]
sqlite = ["br-db/db-sqlite"]
