[package]
name = "fusen-common"
version = "0.7.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
description.workspace = true

[dependencies]
fusen-procedural-macro.workspace = true

#网络协议处理
tokio = { version = "1.41.0", features = ["full"] }

#日志处理
tracing = "0.1.40"
tracing-futures = { version = "0.2.5" }
tracing-subscriber = { version = "0.3.18", features = ["json","env-filter"] }
pretty_env_logger = "0.5.0"
tracing-opentelemetry = "0.27.0"
opentelemetry = "0.26.0"
opentelemetry_sdk = { version = "0.26.0", features = ["rt-tokio"] }
opentelemetry-otlp = "0.26.0"
tracing-appender = "0.2.3"

#json序列化
serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.128"
uuid = { version = "1.10.0", features = ["v4"] }
toml = "0.8.15"
serde_yaml = "0.9.34"
local-ip-address = "0.6.3"
chrono = "0.4.38"

#注册中心
nacos-sdk = "0.4.2"

#redis
redis = { version = "0.27.0", features = ["tokio-comp","connection-manager"] }
