# 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-addon"
version = "0.1.33"
authors = ["Carry <7991156@qq.com>"]
build = false
exclude = [
    "INSTALL.md",
    "examples",
    "tests",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "This is an addon"
readme = "README.md"
keywords = [
    "br",
    "addon",
]
license = "MIT"

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

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

[dependencies.br-cache]
version = "0.3.21"
optional = true
default-features = false

[dependencies.br-db]
version = "1.8.34"
optional = true
default-features = false

[dependencies.br-email]
version = "1.2.11"
optional = true
default-features = false

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

[dependencies.br-kafka]
version = "0.3.2"
optional = true
default-features = false

[dependencies.json]
version = "0.12"

[dependencies.lazy_static]
version = "1.5"

[dependencies.log]
version = "0.4"

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

[dev-dependencies.chrono]
version = "0.4"

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