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

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

default = ["mssql", "mysql", "sqlite", "cache", "kafka", "mail"]

[dependencies]
json = "0.12.4"
lazy_static = "1.4.0"
log = "0.4.17"

br-db = { version = "0.1.12", optional = true }
br-fields = "0.0.21"


br-cache = { version = "0.0.4", optional = true }
br-kafka = { version = "0.0.2", optional = true }
br-email = { version = "0.1.1", optional = true }


#br-db = { path = "../br-db", optional = true }
#br-fields = { path = "../br-fields" }
#br-cache = { path = "../br-cache", optional = true }
#br-email = { path = "../br-email", optional = true }


[dev-dependencies]
env_logger = "0.10.0"
br-file = "0.0.1"
br-crypto = "0.0.16"
br-web = "0.0.6"